Updated ftdoc:// url scheme

(for file names containing east asian characters)
updated ftdoc urls
Switched from JSC to bash decode in ftdoc://

Perhaps fractionally faster
Merge branch 'trew-master' into derek-new-queries