Tag API response to use parent rather than parent_id

Closes #2607
- added toJSON method to tag model
- parent_id attribute is replaced by parent
- integration tests will expect parent as an attribute
Merge pull request #2641 from alarobric/feature/2607TagParentRelation

Tag API response to use parent rather than parent_id