Copy paste encoding fixes

People can now freely paste values when in HTML mode.

Should save some head banging frustration when you just want to paste in a url.

If you try to escape out of HTML mode, with incorrect HTML, the editor parses it for you and you get this notification:

![copy_and_paste](https://f.cloud.github.com/assets/667568/573476/9a8d9e72-c7b1-11e2-900a-c189b4d7df5c.png)