Fix compilation for 64-bit systems
fixed keyring-related memory leaks
Free the keyring once it's no longer needed
Free subscriber entries after all commands
Merge branch 'naf4' into 'development'

Big refactor of Rhizome author and bundle secret handling.