Add ITEM_TYPE_CUSTOM and hooks for processing custom item types
Add ITEM_TYPE_CUSTOM = 9
Also adds hooks:
item_custom (process custom item types - fires before storage)
item_stored (fires after item is stored in db)
item_stored_update (fires after updated item is stored in db)