refs #17 add relationship of models, and add the specs
refs #17 bug fix to create and update the ticket categories