Added more features to PhpExtensionCheck

- TravisCI build should fail on PSR-2 coding style failures
- added some tests
- added some first example extension checks