full BREAD Tag endpoints and Tag api tests

close #4263
- implemented full BREAD Tag API
- deleting a tag will also detach its relations to posts
- tests of Tag API
Merge pull request #4406 from RaoHai/tag-endpoints

full BREAD Tag endpoints and Tag api tests