Make metadata and propdef/descdef keys case-insensitive. Fixes #51.