Added code to deal with packages that have pages as the root nodes, rather than an intermediary main division (in the actual division tree structure)
Merge branch 'master' of github.com:MarkVSullivan/SobekCM-Web-Application