Revert "properly detect the spatialite version in use"

This reverts commit c5b8f22f4dc7e52a3822d26bd8daa6f98e05b64d.
Merge branch 'master' of github.com:chander/fhwa-nmtk
Revert "Revert "properly detect the spatialite version in use""

This reverts commit 6580609d8af3f795e4a59d2f3d45132f123fca98.
Revert "properly detect the spatialite version in use"

This reverts commit c5b8f22f4dc7e52a3822d26bd8daa6f98e05b64d.
Changes to support storing all data in a PostGIS database, rather than spatialite files.
Change table names, and fix an error in the helper function(s)
Migrate connection info out of the individual mapfiles
Update mapfiles to use postgis or spatialite, update models to delete postgis tables when a model is removed (user file removed)
Fix some data stuff for mapfiles
Add in highlighting conninfo
Add a new management command so install.sh can do the right thing.  Update the sample config and install.sh so that we store the db types we are using.  Fix an error in the highlighting data for mapfiles.
Fix a pk collision issue
Update the models to support Jeremy's request to have a front page that can be customized.  Add in his default text as a fixture so we populate the default stuff when we start.  Update the index and view code to match as well.  Add in admin pages for the new models