Move check is item usable or not to separate method.

New method: itemdb_is_item_usable
Can be used as: itemdb->is_item_usable(item)
Update HPM hooks.