Drop python 2.6 and replace imp with importlib
also fix name conflicts on blueprints registration
Added default logger back to settings.py