Add function for reading custom itemdb fields.

This functions called after reading normal fields and after
adding item to itemdb.
Update HPM hooks.