make doc.pages an integer, and get the doc viewer working a little better for investor_library copies
Merge branch 'doc_overhaul' of github.com:sharewave/frontus into doc_overhaul