Make bibref query case-insensitive

See commit messages for more details.

This addresses tobie/specref#22
No, that won’t work because we are only sure that the uppercased key is there. Please note that all I did was adding .toUpperCase()