Add a `pre_install` command to travis for node 0.8 compatibility.

See https://github.com/npm/npm/issues/4849