Fix for too-restrictive regex in arg parser

Also includes a new hidden flag, --debug-arg-parser, that spits out parsed results and quits for debugging purposes.  Flags now appear to work properly.  Fixes #396.