[BUGFIX] 'hasSubPages' counts subpages which are hidden from menu 

Fixes an edge case when a page has only subpages which are all hidden from menu (nav_hide=1).

Fixes: #17
Merge pull request #22 from beda/menu_nav_hide

[BUGFIX] 'hasSubPages' counts subpages which are hidden from menu