Simplified db init, added start of logging

Removed the reflection stuff as it was overly complicated and I don't actually plan on changing the DB backend.
Cleaned up the config part a little and added some of the basics for logging.
Changed payload format to allow for error reporting to front end
clean up from seperating front end and back end
Response payload format changes.

Modified the way the payload is returned to allow for a status and error reporting.
Quickly wrote a manual filter for the ObjectID _id's as the ObjectID is not serializable
and json.dumps() freaks out over it. Also made a change to the pymongo model for host
home hostnames are stored (this is make it work more smoothly with AngularJS)