Support `config.default_namespace = false` (#2043)

* Refactoring of PR #2043 by @Daxter
* Deleted old integration tests that no longer need to be run. They were
  testing the building of the dashboard controller, which is done
  differently now.