(MODULES-1473) Deprecate type() function for new parser

The `type()` function will cease to work on the new parser because 'type' is a reserved keyword. The `type3x()` function may be used to continue similar functionality, but will be deprecated in favor of the built-in typing system.

The `type_of()` function has been included to introspect types in the new parser.
This is not needed - it may make sense to compute the type and then compare it against other types. I fact, it is really not for "human consumption" (although you can interpolate it and log it - it then becomes a String for human consumption). The =~ operator compares the type of a value against a type, but you can also use comparisons <, >, ==  etc to compare one type against another, or indeed Integer =~ Type[Integer].