Added missing null checks in docs_module_begin to avoid issues with pages 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.
Merge branch 'master' of github.com:Vertafore/docular

Conflicts:
	lib/webapp/resources/js/docs_module_begin.js
Added a mergePaths function that checks if merging the paths creates a double slash.  In cash the first path is only a slash, this will create a leading double slash that will cause chrome to treat the url as a full URL.
Merge pull request #108 from Vertafore/development

Development
Remove unneeded promise and Q.all in the end of gen-docs.generate
Merge branch 'master' of github.com:Vertafore/docular
Revert "Remove unneeded promise and Q.all in the end of gen-docs.generate"

This reverts commit 008e318a482888123724fa9895ae540782e71c6e.
restored removal of q.