Add .travis.yml, update tests and Cargo.toml for upstream changes