UI:  Fix string conversion bug

Parameter two of os_wcs_to_utf8 is how many characters to convert, not
how big the buffer is.
Fix ffmpeg/x264 find modules according to cmake find module naming conventions
Add Libfdk find module
Add libfdk encoder