Support passed in dust object in addition to global module.

Previously, this module expected a global dust module to exist. This change allows one to pass the dust object to be patched in addition to the previous behavior.