Inner html cleanup

This pull request should address issues brought up in #185 (no more use of `textContent` and cleanup of creation of elements with jQuery), #210 (cleanup of creation of elements via jQuery) and #214 (allowing attribute values to contain arbitrary HTML). A new example has been created and one has been modified to show off the new functionality. Feedback welcome!