Trying out CI with Travis.

Can't do browser testing, but this should also run as a Node.js package.
Added the first Mocha tests.