ecmascript: Improve automatic charset detection when decoding byte -> string

Fixes #2320
ecmascript: Add bin2hex and hex2bin conversion functions
ecmascript: Add basic hash functionality

Fixes #2317
ecmascript: Add showtime.probe

Fixes #2314