Added page-level DocBlocks
Improved readability in templating method calls

Adhered to PSR-2 for multi-line method calls which seems to help the
readability of code when using the templating engine.
Added phpcs, phpmd, and pdepend to composer

in require-dev section.