Update code to match latest rbenv

Copy code from latest version of rbenv and update all references from
Ruby to Node
Updated README
Replace references to rake and spec with nom
Update LICENSE
Merge remote-tracking branch 'origin/v2'