fix #3, tag related APIs
add test for tags
Merge pull request #14 from lisztli/issue-3-tag-api

fix #3, tag related APIs