add derived read-only property Item.type

Without this, the client does not show any item-specific verbs in the
item interaction menu.