Image and link methods

Depends on #627.
I'm looking deeper into this. Seems to be some differences here, between how browsers behave in automatic wrapping of the caret in a default root container when it is in the body on mouse and keyboard events.