Added binding of Diag Items by type

Refactored MutablePacketField class to be more generic. Added item_type to the bindings of diag items.