Updating how module requires are cached.

This simplifies the code and prevents multiple quick requests from being
sent out for the same module
Merge pull request #34 from javallone/caching_refactor

Updating how module requires are cached.