Make bibref query case-insensitive

See commit messages for more details.

This addresses tobie/specref#22
It’s of course still there, you just need to use HTML5 (or html5-20121217) instead of just HTML.