Feature/rails3 add configurable session lifetime