Fix #53: Stricter compiler warnings

Picks up #53, fixes a minor bug and uses a Travis configuration, which lints the library.