Raise exception Bad_option for unparseable or invalid options.

Fix for issue #56.
Yeah, I agree -- adding more safety via a command-line flag is ideal.