Disable THOR_DEBUG while running generators

Bundler 1.5 enables THOR_DEBUG so that it doesn't fail silently but this
breaks the railties tests as we can't capture the error output. It will
be fixed in Bundler 1.5.2 but until then disable THOR_DEBUG whilst we are
running generators in the railties tests.