Addressing comments raised in #171
Universal test of unsetopt command

According to http://stackoverflow.com/a/7522866/189431 it should work in "bash, zsh, ksh and sh (as provided by dash)".
Merge pull request #322 from koenpunt/fix-unsetopt-test

Universal test of unsetopt command. Closes #300
Slurp test unsetopt stderr
Merge pull request #324 from hurrymaplelad/quiet_type

Slurp stderr from  test unsetopt
helper method for testing existence of commands
Merge pull request #326 from koenpunt/has-command-helper

helper method for testing existence of commands
install globally
Merge branch 'master' of github.com:xtuple/nvm

Conflicts:
	install.sh