Add a missing lock on BasicKeyChain.getBloomFilter
Fix failing deserialization of wallet with an empty HD chain

Error occurred when deserializing wallet if either internal or external
zero account key chain of this wallet has no keys issued
Fix failing WalletProtobufSerializerTest