[GET] /categories/:id is out-of-box now.
Output error/exception message as Json.
Forbid access api index page directly.
[POST] /categories is ready for use.
[PUT] /categories/:id works basically.
clean and update categories for book after category modified.