Move all the javascript templates into individual files to make it easier to maintain and edit them.
Reformat versionSummary template
Fix up paging of records, it was skipping ahead by item instead of page number
Allow sorting by first line of versions