Refactor content model

Remove toc collection and calculate page numbers dynamically.
Merge branch 'editing' of github.com:Connexions/webview into editing