middleware: Initial work on concat middleware

Adding a concat plugin to join all the pages in a target
into a single page.