better, clever-er installer
mostly finish up bash-based installation
fix all the prompting bugs
(hopefully) fix all the remaining autoinstall bugs
properly detect git failures

I had refrained from fixing this in the past due to ease of
debugging.
small bug fixes
Merge branch 'better-installer'