Merge pull request #115 from AlfonsoUceda/master

Fix session cleared after each request
Generated "environment.rb" MUST also require "rubygems" and "bundler" setup to make it working with Pow
Fixed session configuration for localhost and ips