input: add ref counter to input_item_node_t
Add ref counter to input_item_node_t, add input_item_node_Hold function and rename input_item_node_Delete to input_item_node_Release.
This will be useful in the preparser process to keep a reference of an input_item_node from a callback.