Adding a couple of npm scripts and tweaking travis

Superseded #172