WIP tags: REST API addition

Addition of rest api for tags.
Still work in progress.
Is it authorized to touch `request` from a decorator?