Updated casting to explicitly make reference casting illegal, and to make casting from a real to an int illegal.
Added tests for record and tuple equality, fixed minor errors, solved issue with parser getting stuck parsing tuples inside brackets.
Merge pull request #23 from DanielJCampbell/master

Fixed minor errors in interpreter, parser and javascript converter