Fix parsing for terms and formulas
Fix parsing for terms and formulas

Must use IParser instead of resource set, and specify root
parser rule. Also, throw an exception on syntax errors.

maul-esel/rapanui