[Passed] improvements and travis troubleshoot

- fixes problem with php5.3.3
- removes public keywords on interfaces
- clean up various