Update npm before testing in Travis

This way, dependencies that use the `^x.y.z` syntax for their dependencies won’t break the Travis build anymore.