Making Intercom thread safe

Removed the instance variables on modules, that would be shared
between different threads, by the `Thread.current` hash.