Added RichTextCodemirror methods for working with entity attributes

firepad.richTextCodeMirror_.setEntityAttribute('ent_class', 'pull-right') works well, when cursor is positioned either right after the image. or before it in case, when it's on the begining of the line.