Tag api

Adds a restful api for tags, system and user, implementing #82