PSR2 & PHPCS Compliance

See: #278 

Tracking branch for cleanup of the codebase back to PSR2 standards, with little or no PHP Code Sniffer or PHP Mess Detector errors.