provide postgis as dbtype for datastore

fix for #1658
upload - log unexpected exceptions

fix for #1659
Remove the AUTH_PROFILE_MODULE setting.
Update comment functionality to work with Bootstrap 3.
Merge pull request #1660 from ischneider/iss-1658-1659

Fixes for 1658 and 1659
Merge remote-tracking branch 'projet_original_master/master'