Unicode handling and some cleanups
Unicode handling and some cleanups

- add unicode/utf-8 conversion functions: to_utf8() and to_unicode(),
- force randomized_string() and make_pass() to return utf-8 bytestream,
- small style clean-ups

jubalfh/cog,jubalfh/cog