little refactor
added master_tag_id (but synonyms functionality isn't implemented yet)
synonyms seem to work, but need to make refactor
tag model refactored