Consolidate send_query methods and add unicode checking.
Remove unnecessary unicode code, fix length determination and implement KeeAgent support.
Add better documentation to Pageant test.