SQL Support Sample: fix assembly and enhance documentation
Runtime MixinsModel: use a LinkedHashSet instead of a HashSet for mixinTypes to preserve insertion order

Without this fix, the primaryType() method returned a quite random type.
I know this "primaryType()" thing is controversial but it should at least work reliably.