Fixes #192.

Navigator can now rotate together with the viewer.
Adds rotate event. Fixes #454.
Cleanup.
Merge pull request #455 from PathXL/fixes-192

Fixes #192.