Use curl instead of wget, detect the name of the main volume, cleanup

Wget isn't available on a vanilla install (at least not on the 10.8 I tried).

The script will now detect the name of the main volume, rather than assuming
it's always 'Macintosh HD'

I also wrapped the info/warn/error in nicer functions and made indentation
consistent across the script.