Modified travis yml so php 5.6 will be built
Fixed the breaking build by applying conventions