Removed php 5.4 syntax
Added config for bin dir
Configured travis ci