Propagate dependencies in mix tasks

Closes #1036
Merge pull request #1068 from ericmj/mix-propagate-deps

Propagate dependencies in mix tasks