Debugger: Fix compact display of individual hash nodes

This was not accessible if the hash itself was a typedef.
Also, make sure that unusual key contents don't do any harm
in the protocol by hexencoding it unconditionally.

Change-Id: I83d43768ec72f797a72b2d9c44ca91b1feaf61a7
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Bookmark: Consolidate data handling

Avoid storing of copies of the same information.
This still calls saveBookmarks() too often needlessly.

Change-Id: I2c9a67252ea444a722802a6dd4b1e8d154d1c82c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>