Rewrote parts of javascript item-editor (ordered collections and tempalte vars). Added widgets for ResponsibleParty