Rewrote the tree event handling to fix a bug found in QA.
Fixed issue on paging showing pane open, and checkboxes not resetting.
Fixed issue with paging, not updating the selected action icon in the top left of the viewer.
Fixed an issue that did not update the tei markup or diplomatic transcriptions correctly when paging.
Merge pull request #45 from MorganDawe/7.x.publish_viewer

Rewrote the tree event handling to fix a bug found in QA.