Code review: API /tags/:id

Implements tags api.

Needs code review. ping @kamaulynder @dkobia have you got time to review?