Let CDB_CheckQuota second parameter override configured user quota

Closes #13
Includes automated test