allowing ctx.locals to be merged if available
adding tests for middleware
simplifying the index fn
version bump + changelog update
Merge branch 'release/0.1.3' into dev