New REST API format
After much feedback and iteration, this is a restructured API. Docs
will be updated with API details in a later commit. I also dropped the
flask restful marshaler, it is too simple for our format. We now use
python's json serializaer + a custom SQLAlchemy object visitor.