backend/api: integrate flask-restful
backend/api: patch flask-restful for better serialization and error handling

See the code comments for references to github pull requests/issues
explaining the rationale behind these patches.
utils: add @parse_with flask-restful utility
backend/api: add database resource baseclasses
backend/api: expose uses via api