Prevent loading setup screen if already setup

Closes #3145
* Prevent navigation to the setup screen if Ghost setup
  has previously been completed.
* Fix templates that were incorrectly using foreach instead of each.
"on the correct *page*"