Parse: Add Ref precedence. Fix #46 #48
Merge pull request #50 from dimkou/fix_parser2

Parser: Add Ref precedence
Merge branch 'master' into validtypes
Type test: Add more tests for Validator.