hamlet: Parse $of as binding

Among other things, this enables use of pattern matching with record
syntax in $of constructs
HamletTest: Add test for case matching records
Hamlet: Add support for binding against integer literals
Merge pull request #98 from bgamari/master

hamlet: Parse $of as binding