tags: REST API addition

Addition of  API and REST API for tags.
@konstantinos1991 have you seen @greut 's comment?