Support @providesModule directives using the Resolver abstraction.

Closes #7.