Some refactoring for generation of tuple patterns
Added tests for generation of the record pattern
Updated the CG assistants with more utility functionality
Added work on generation of the record pattern
Added fix for generation of patterns when tuple patterns and record patterns are being mixed