Turned the key items object type into an object flag.

Now every kind of object can be a key item, preventing it from being
consumed or sold.

Note that key potion with valid use functions will be consumed anyway,
but it would be a nonsense to create such items.