Cleaning up redundancies in templates

* moved redundant "primary action button" and open .wrapper into
header.php
* moved redundant close .wrapper to the footer
* cleaned up some docblock comments for consistency