Fix handling of tags in code snippet controller & spec
add tag namespaces to db