User defined type plugins and new built-in types (implemented as always-built-in plugins) will want to do CAST.
This task will add infrastructure for such casts.
Let's add this branch into the cast_type grammar rules:
Note, the GEOMETRY data types (which is as of time of writing 95% plugin compatible) does not support CAST for now. So for test purposes let's override the relevant method as follows: