(maint) the type type not handled correctly, and other type system adjustments

This fixes problems with the Type type, Ruby type, and missing support in type parser for these.
It also fixes problems with the Collection type which was not supported as a parameterized type in the
type parser.