Use middleware pattern if available. Closes #2
Merge pull request #3 from brikteknologier/detect-express

Use middleware pattern if available. Closes #2