#2191505 by nedjo. Conditionally add fields that may be missing from older installs.
Older installations that skipped minor updates may be missing db fields. This update restores them if they're missing, does nothing if they're already present.
Code formatting cleanup, refactoring of markers.js.
This commit does a lot of cleanup in prep for releasing as a Drupal module. Also
refactors markers.js to remove a lot of Journey-specific (and non-optimized) code.
Make update_7001 queries explicit
Previous method of updating directly from the schema is fragile (result would change if schema is updated again in the future). Update queries are now fixed value for this update.
Issue #1962376 by Dark_Messiah, liquidcms, eigentor - Do not include D8 specific entity module to avoid confusion when D6 or D7 site happens to have (contrib) entity module in the core modules directory.
We should NOT fix this, probably, just to punish awful practices properly ;)