COMP: Correct orientation/spacing for Philips MultiFrame

As reported by Andriy Fedorov, some Philips Multiframe
DICOM files were not having the correct orientation and
spacing reported. The shared functional group needs to
be checked before the per-frame functional group.

Previously they were checked in the opposite order.
The patch also checks both the shared and per-frame
groups completely, as some files apparently have both
but the orientation/spacing info is missing from the
shared group, and the per-frame group needs to be used.

Change-Id: I79efb9ddeb65fd2cd03a7eaf67e73e6b489cf1b5
Merge topic 'FixMultiVolumeDicomSpaceBug'

98cd612b COMP: Correct orientation/spacing for Philips MultiFrame