Allow unqualified access to typekeys

Typekeys are no longer enums, but we still want them to have the
benefits of unqualified access. Change the parser so that it allows this
both for enum types and where the value type is an IEnumValue.