Checking if unconfirmed_email has changed before to set update_needs_confirmation flash message.
Merge remote-tracking branch 'upstream/master'

Conflicts:
	app/controllers/devise/registrations_controller.rb
	test/integration/registerable_test.rb
Adding tests for case_insensitive_keys and strip_whitespace_keys to param filter
Refactor to avoid duplication on param filter
Avoid hash mutation
Merge pull request #2402 from xtream/master

Avoid duplication on param filter