better parser errors

closes #64
generalize casting and resolve SR conflicts
Merge branch 'better_parsing_errors' into more-casting
semantically checked proper casting
code gen for casting