tagging: added some backend logic to create and retrieve tags.  made cha...

...nges to the migration files

added the schema file to the PR, changes in there were auto generated so I'm not sure if it should be included or not.
Use 2 (not 6) spaces for indentation.