Base class for building command line applications.

The CommandLineApp class makes creating command line applications as
simple as defining callbacks to handle options when they appear in
'sys.argv'.

To do:

- switch to gnu_getopt?
- check command line arguments
