New ItemType functions.

ItemType:getClientId() is necessary for OTClient purposes.
Merge pull request #1060 from conde2/New-ItemType

New ItemType functions.