Use MWSServerError to raise errors in MWS views
Factor out get_collection_size for quota
get_collection_size to use db_get
Merge pull request #256 from rcchan/json-errors

Json errors