Make #validate_each work with AR 4.2
Fix tests to allow reflections hash keys to be strings
Fix AR 4.2 deprecation warnings in tests