Fix references, rename ref -> reference and remove matchIdx from the AST. Closes #57
Merge pull request #61 from jviereck/fix-57-matchIdx-ref

Fix references, rename ref -> reference and remove matchIdx from the AST...