Use base64 to safely encode data in configurations
Merge branch 'master' into alexlevenson/fix-conf-encoding
Merge pull request #325 from isnotinvain/alexlevenson/fix-conf-encoding

Use base64 to encode strings to handle unicode better.