treat res.locals as object

works for express 3.x and 4.x
https://github.com/visionmedia/express/wiki/Migrating-from-3.x-to-4.x#reslocals
Release 0.1.1