Restructure the command line parsing.

There's a great deal more complexity now, but hopefully all will work. I still
need to find a way to implement documentation. maybe some sort of type
class. anyway, i'm off to bed. night.
Merge branch 'master' of github.com:pharpend/mittens