install.sh hook breakpoints

Adds the ability to break at hooks, with the parameter `--break=<hook>,<hook>...`. The script will drop into a Bash shell and if exited successfully will continue the script, otherwise the installation is aborted.

In addition, all `while read` loops are now using a non-stdin FD to prevent breakage with commands that try to read from stdin, like Bash in interactive mode.