Changed method of html insertion for images and links in the CKEditor

Using the CKEditor, adding of links and images was not possible. This was fixed by using another html insertion method.

See http://docs.ckeditor.com/#!/api/CKEDITOR.editor insertHTML()