Compare buffer names in both lowercase and uppercase

This appears to have the most liberal behaviour in both German and
Turkish.

Fixes issue #140.