Convert deploy-wamcmis to use getopts, and other cleanup.

* Convert ot getopts.
** Note this means the loss of support for long options (--repo-path no longer works, only -r), which I don't think anyone cares about.
** This is consistent with other scripts, including limitations of getopts (no support for -r=/path/to/deploy, must use -r /path/to/deploy).
* Cleanup of error messages.
* Fix whitespace consistency (spaces, not tabs) in usage instructions.