Getting rid of deprecation warnings

config.whiny_nils is not used anymore
config.eager_load needs to be present in Rails 4
Removed deprecated configs for devise
Fixing deprecation warnings for confirm dialogs
Fixed deprecation warning for secrets