Fixing bug with nesting multiple levels
Merge pull request #1551 from kimroen/generator-fixing-nesting

Fixing bug with nesting multiple levels
Make history-support an addon.

* Makes history-support just a standard middleware addon.
* Moves serve-files into a single file (as less logic is being done
  now).
* Removes connect-chain (it is not needed).