fix tests (middleware module change)
Merge branch 'master' of github.com:mahmoud/clastic
fix ordering of routes when subapps are merged with apps
Merge pull request #8 from markrwilliams/subapp_fix

Subapp fix