Fixed issues with the test cases for Normalised Packed Types.  They had previously made the assumption that every possible value of the underlying type mapped directly to a Normalised value.
Updated generate script so that Linq works in Text Templates.
Rebuilt source.