Fix for issue 2 of #389
Better error message for type bindings without declaring class/method.
Removed getFileContaining method from this module.
Optimization of getMethodAST. Works best when the AST for lots of
methods are needed.