Migrate to argparse

This branch follows the [Upgrading optparse code](http://docs.python.org/2/library/argparse.html#upgrading-optparse-code) directives.

Users with Python 2.6 should install `argparse` using `pip` (`pip install argparse`). Python 2.7+ already include `argparse`.