app tree: app package name changed

The name of an app's main package is now `${appname}app`, rather than
just `$appname`.  This allows the package to export both an application
and a library package with the same name, where the application's main
package can be different than the exported package.