Adds getMethodDefs() method to module nodes for easily discovering metho...

...ds in the AST.