Loop through env methods instead of env

It's possible that other code is trying to iterate through the
env hash while we are, so we now iterate on our own `ENV_METHODS`
constant to prevent clashes from happening.
Add Rails 4.2.rc build