Crabcache improvements: fix usage of quota, add several API