Allow knows to use base64 encoding.

For complicated hints and solutions (with embedded images) the standard knowls placement would mess up the surrounding HTML.  Encoding these hints in base64 and then decoding them with in the knowls.js function seems to solve this problem.