Merge "resjunk" handling with automatic type conversion when selecting from another column.
Change ordering of IS_BUILTIN_TYPE() macro to optimize lookup. Make CASH type _not_ equivalent to INT4. CASH is passed by reference rather than passed by value.