Add orientation sensor (IMU) as an assembly condition for IK

There is already a Markers assembly condition used in IK for position sensors. This PR adds an analogous assembly condition for orientation sensors, typically IMUs.
BTW, this method `findCurrentOSensorError()` is for end-user use, debugging, etc.; it isn't actually used internally. The internal code is similar but considers the angle signed.