Pass transforms to module-deps in deps

So we don't have to duplicate them in a call to deps. Fixes #600. Fixes #697.