Add a root_app property to `cli.Application`

This adds a property to `cli.Application` called root_app which returns a
reference to the "root" Application object in a tree of Application objects.

Basic implementation for issue #140.