API: Added queries_after option to backbone, refactored course category delete call