Use Main for handling our command-line arguments

Ara T. Howard's Main is an excellent library that handles arguments much
better than the previous optparse code I was using. This should make for
a more robust script.
Merge pull request #1 from robmiller/main

Use Main for argument handling