Update default Node.js to 0.10.35
Install grunt-cli for Node.js 0.8 and up

Fixes https://github.com/travis-ci/travis-ci/issues/1064