Tox and setup.py added

* manage.py renamed to manage_collector.py
* default running mode in manage_collector.py set to prod
* example configuration file for uWSGI is added
Flask blueprints are used

* blueprints are used
* syntax is fixed for flask8