Make bibref query case-insensitive

See commit messages for more details.

This addresses tobie/specref#22
Yes please, unless the perf hit is really significant (like adds > 2 minutes or something).