Merge pull request #56 from senseobservationsystems/feature_motion_sensor_prefs

Added preferences for the motion sensors
Merge branch 'release-2.7.0' into unstable
Magnetic sensor fix
Log changed
Minor code style changes
Made sure magnetic field sensor sample is stopped when the sensor is
stopped
Merge branch 'fix_magnetic_field' into release-2.7.0