Make bibref query case-insensitive

See commit messages for more details.

This addresses tobie/specref#22
So we don't want to remove existing references from version to version. That's completely unrelated to the W3C/WHATWG story. `html-20140617` exists and points to `html5-20140617`, I don't see why it shouldn't continue doing so.