BibFormat: fix empty key retrieval from KBs
- Querying a knowledge base with an empty key no longer returns a random value, but an empty string (or 'default' value). This restores the previous behaviour (which was altered when KBs were updated and moved to BibKnowledge).
- Added regression tests