updates to integrate with node-squarespace-middleware. fixes #48.
Merge pull request #49 from kitajchuk/middleware-integration

updates to integrate with node-squarespace-middleware. fixes #48.