updated 'fcast' + minor edits to 'fmelt'

'fcast' updated to handle recent changes to 'fastorder' (used internally) + minor renaming to fmelt functions.
Fix for #5266 and #5159 - character encodings

`chmatch` and joins on character columns now work as expected on different encodings as well.