Cleaned urls + settings + manage + others files.
Add debug_toolbar to INSTALLED_APPS if DEBUG.
Enh/Clean: changed views.py module into a package. and separated code into modules.

Also:
- simplified InfluxQueryHelper class.
- factorized code between "dg" views.
Added logs to api.