Make bibref query case-insensitive

See commit messages for more details.

This addresses tobie/specref#22
That makes sense. Can you add a couple test cases there for case insensitivity?