Introduction of CI tests

First shot at adding some tests to travis.  This involved rearranging the travis.yml file and then adding a script (run_tests.sh) that gets run at the end of the build.  Let's see what happens!