jp2segments: initial commit

New tool for handling segments in the update area.