Add travis config. Add npm and travis badges to the readme.