Sane defaults for OSX and keep current dir

* wget doesn't appear to be on OSX by default, CURL is.
* `pushd/popd` so I go back to where I started from before I ran the command
Better implementation of bash-completion script installation
Merge pull request #1000 from mjallday/patch-1

Sane defaults for OSX and keep current dir