Added test exercising usage of Java generated records with focus on them being treated as values, i.e that they are being cloned correctly
Added missing type to the field expression in the OO AST
Made the record type refer to its record declaration
Made the record type refer to its record declaration (missing file on previous commit)
Updated template for record type so that it read the record name through its declaration
Fixed cloning of Java generated records and improved it for some cases