Added axis rotation flag

When the compass is mounted in the case, the accelerometer axis may be shifted 90 degrees.  This means swapping tilt and pitch readings to maintain accurate display.