Add nmapps.app package.

* Add nmapps.app package with base classes for implementing CLI
  applications in python.
* Make minor changes to nmapps.daemon to help implement
  DaemonControllApp in nmapps.app.