Fixed bug with pattern matching on a amb node

@jurgenvinju did most of the work.
Fixed #216 which leaked lex/sort from the Rascal grammar.
Removed getModuleGrammar and added "overload" in Grammar.

Fixes #748