First draft Travis control file.
Fix minor bugs.
Placeholder unit tests.