9DoF: Add new sensor API.

Add new 9DoF API for gathering data from 3D accelerometers, 3D
gyroscopes and 3D magnetometers. The API supports using only a subset
of the sensors.

Initial implementation adds support for lis302dl 3D accelerometer
found on the ST's F4 Discovery development board.