PSR-2 Compliance addresses #30

Automatic changes made by php-cs-fixer https://github.com/fabpot/PHP-CS-Fixer

This looks like it may require a lot of checking. But none of these changes were made by hand and were all done automatically by the PHP-CS-FIXER

If you'd like to run the fixer locally you can install it
```
sudo curl http://cs.sensiolabs.org/get/php-cs-fixer.phar -o /usr/local/bin/php-cs-fixer
sudo chmod a+x /usr/local/bin/php-cs-fixer
```
Then run

php-cs-fixer fix /path/to/dir --level=all

This address coding standards issues raised in issue #30 which may now be able to be closed.