Cleanup api django application

First of all make the unbit_it_api a proper application so that is easily installable, then split views.py into smaller chunks so that is easier to digest, also add some basic tests for views. Private metrics are still basically untested but is should be easy to add them.