Add uninstaller and comply with shellcheck

I added uninstall.sh to the top-level directory since it matched the directory of makedmg.sh. While I was at it, I also made makedmg.sh [shellcheck](http://shellcheck.net/)-compliant. This PR is meant to resolve https://github.com/boot2docker/osx-installer/issues/46.