API: Added PUT request to Course Categories, Added SQL clause generation function