Merge pull request #260 from rcchan/collection-limit

Quota number of collections per res_id
Raise on db errors
Init scripts can return custom defaulted response, errors caught
Option for get_db to raise MWSServerError
Send db errors in debug mode only