Fixed buildscript, added support for TravisCI to build PR's and report the current build status.