This patch enables mocking of parametrized modules.
Change is made in backup of original modules.
Parametrized modules should have module variables in their module attributes.
Without these variables, we can not compile original forms.
Handle module paramter in converting module attribute
Add unit tests of parametrized module mocking
Great work! Perfect pull request with nice code and good tests. :-D
Will close #4 once the tests pass on TravisCI (they fail right now because of some connectivity issue towards GitHub).
Thank you for rapid merge!