Add a destroy function on the viewer to clean up and remove elements
created by open seadragon. Add removeAllHandlersForAllEvents to clean up all events on destroy. Clear
the onDraw callback on Overlay destroy.
fix: calling viewer.destroy() multiple times throw an error. And a simple destroy to mousetracker
fix: comment updates and add a simple test for viewer.destroy
update the comments and unit test
Working on rotating images.
So far only 90 degree rotation is supported.
Only the image is currently being rotated.
Overlays, debugger, and the navigator still need to be updated to support rotation.
Clicking on a button control no longer refreshes page
Merge branch 'master' into form
Rotating overlays.
Drawer now works when the page is rtl
Fixes made after first code review of rotation.
Ignoring touchMove if we didn't get the touchStart
Merge pull request #184 from iangilman/form

Clicking on a button control no longer refreshes page
Changelog for #184
Revisions to rotate after second code review.
Merge pull request #187 from iangilman/rtl

Drawer now works when the page is rtl
changelog for #187
Merge pull request #188 from iangilman/touch

Ignoring touchMove if we didn't get the touchStart
Merge pull request #179 from lukemurray/destroy

Add a destroy function on the viewer to clean up and remove elements
Changelog for #188
Changelog for #179