Working middleware implementation

It's super-simple and only has exact string match routing, but I wanted
to see for myself how this might work :)
DailyJS node tutorial
Working POST /documents.json

complete with test to prove it.