Make '--type' argument required.

I forgot to make the --type argument officially required.  This wasn't
a visible bug, since other checks ensured that a message was printed
when the argument wasn't provided, but the check_required_arguments()
function in arg_handler.py didn't check for it.

This commit changes the arg-handling logic to explicitly check for the
--type argument.  Unit tests are also added.

Issue #7