Don't assume a 'local' MapLayer has been added to GeoNode from GeoServer

Obtain name from thumbnail from Maplayer.name instead
Make flake8 happy, remove unused import
Merge pull request #1664 from mwengren/maplayer_thumbnail_fix_pr

Don't assume a 'local' MapLayer has been added to GeoNode from GeoServer
reformat logging settings
Merge pull request #1666 from ischneider/reformat-logging-settings

reformat logging settings
Update models.py
Remove the AUTH_PROFILE_MODULE setting.
Update comment functionality to work with Bootstrap 3.
Merge branch 'master' of https://github.com/GeoNode/geonode