Travis-CI reorg

This pull request reorganizes travis-ci files so that the build script is agnostic to the project, and all project-specific functionality is contained within the configuration file. This also enables IRC notifications when a build fails, and when a build goes from failing to succeeding.