Add PHP lint to build.xml
Use ant for travis ci builds

This allows us to share setup with jenkins
Use apply for jshint call to avoid problems with spaces in path