added tag support to graphics in edit, create view and corresponding methods in controller.
fixed Tag::getTagsByString() to produce an array of ids of tags, getting or creating new ids as needed.