es5-shim for ES5 compatability
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
Merge pull request #253 from rcchan/js.compatability

es5-shim for ES5 compatability