Fix deadlock in keystore

The keystore dispatcher thread must not hold any locks when it calls
LockedKeyBlobEntry::list.

Also fixed an issue with the KeyBlobEntry conparisson function that lead
to clients beeing blockd by each other if they edit the same alias at
the same time altough they have different name spaces.

Test: A script that is currently under development. Stay tuned
Change-Id: I1d7f46cc27b3d90305a0ea64b8859d85b42996d8
4 files changed