add support for inserting inline images into text document

TODO: eliminating duplicates, resize image to fit in table cell
Add insert image button to the editor