Cleanup of travis setup.

- Now builds correctly on ubuntu.
- Simple test added.
- Cleanup of previously committed commented code.
Merge pull request #42 from ktf/add-travis

Initial travis setup.