add npm install
fix "dbinit" cake task
fix redirect loop in static

http://stackoverflow.com/questions/15458424/redirect-loop-with-node-express-js