Adding XIA RoIs as Counter in the MeasurementGroup

The device created in the Pool for a XIA detector (if included in the online.xml file) have attributes for setting up to four RoI (RoI1Start, RoI1End, ..., RoI4Start, RoI4End) and a attribute for reading the counts of the defined RoIs (CountsRoI1, ..., CountsRoI4). These attributes with the counts can be included in a MG as external channels. The XIA device has to be in the MG for being triggered.