add rest api for content categories

I've defaulted to naming this file `requirements.txt` now because then Travis [will install it automatically](http://docs.travis-ci.com/user/languages/python/#Travis-CI-uses-pip).