Change to a namedtuple for results

This named tuple is much more informative than the previous tuple
and now single detections are grouped inside a list