[WIP] Remove the 'Category' model, use constants instead (bug 987880)

Work in progress, not ready for review yet, I'm just pushing so that the world can see it.

Missing:
- Some form cleanup stuff (though devhub is working fine)
- Lots of tests to update
- Migration to convert existing data