[requirejs plugin] Support assigning to module.exports

Closes #462