Fix Union Station hooks for Rails 3 caching. The instrumentation flag is thread-local.