JPathway::addItem

Create and add an item to the pathway.