Various Test & PSR-2 Updates

- Bring the code-base inline with the PSR-2 standard using
PHP_CodeSniffer
- Update Test HTTP adapter to store one or more HTTP requests
- Add in PHPUnit configuration values to test where superglobal values
are used