Custom npm setup for Node 0.8 on Travis

This upgrades npm on Travis for testing on Node 0.8.