WIP: moved 'shutdown' ns into 'app'

If we like this, we should ...

* combine test namespaces
* do we want to rename to 'internal' or something else?
* do something with the big comment about shutdown functionality,
  this commit leaves it out-of-place, perhaps move to README
* probably have to fix up example app(s)