Merge pull request #166 from jay-hodgson/develop

SWC-295: Add widget framework to the portal. Widget registration, editors, md widget parsing, and renderers. Content type is the key to resolving (stored in the AttachmentData). Widget size is also determined by Portal.css based on content type.
Merge pull request #167 from jay-hodgson/develop

move markdown options to webconstants to fix build
Merge pull request #168 from jay-hodgson/develop

fix utf-8 character error caused by comments
Merge pull request #169 from jay-hodgson/develop

another utf-8 character issue, this time in ServerMarkdownUtilsTest
SWC-346: refactor Entity editor dialog and form into MVP. And explicitly signal when a widget is deleted in the event. Also, auto rename the attachment name when image is successfully uploaded.