Rewrote functions isPost and isPage as Twig tests
Added Tests dir
Added "real" page tree, using iterators for rendering menus
Removed unused code, inline-doc
Short array syntax
Merge branch 'master' of https://github.com/getherbie/herbie into mergeMasterWithUpstreamMaster