Added miscelanous OSX utils. Changed Rakefile to use tasks. Fixed NVM bugs.