add rest api for content categories

@smn It looks like if you define an `install: ` section like I'm doing above, it overrides the default, so I still have to specify it.