[WIP] Implement categories

Done so far:
- Doctrine entities
- Controllers allowing to create/delete/update categories, and to add/remove categories to records
- Unit tests for create/delete/update

There is still a problem with adding categories to records, it's probably a unique key issue.