build/install-sx.sh: parse user-specified options and allow --branch + --testnet.