Update devise version in gemspec. Update devise.rb settings. (reverse-merged from commit 9dbc1926e2a860450aa78ca03cf89ea985bef43f)