Added test to exercise code generation of the 'is' expression when the checked type is a quote type
Refactoring of functionality used to generate the 'is' expression
Updated the generation of the 'is' expression to take quote types into account