Vertafore/docular — pull request #105 by idanush (2014-07-12 14:37:58+00:00)
Title: Add missing null checks to prevent crashes on page changes

Added missing null checks in docs_module_begin to avoid issues with page...s that are missing documentation.

This is an issue if no index is supplied since it will cause docular to crash on changing categories.
Simplified page already loaded logic and added a missing null check there.
This is an enhancement of pull request #85 without the windows compatibility fix.