Updates npm to the latest version in Travis.

This avoids the errors related to the version ^ operator when using node 0.8.