Feature/qunit

Adding QUnit DOM integration tests and documentation. Implements feature #16.