Coding standards

* [x] Add codesniffer
* [x] Setup Travis to automatically check PRs
* [ ] Update all code to adhere to coding standards