Use `noecho` method for password prompt if available

It will be available on Ruby >= 1.9
Merge branch 'stuartnelson3-master'

Closes #418