Refactored a small amount of code in the index page
Updates to API, added Admin API.

Added Admin API for adding and removing meters, entities & users.
Created a new decorator to handle API call errors.
New deactivate functionality added to a few of the models.