Limit sensor precision to sensible values (fixes #16).

Prevent excessive decimals from corrupting display output by limiting the
number of decimals: 3 digits for acceleration, 4 for rotation, 2 for
magnetic field, 1 for light, proximity and temperature, 0 for pressure and
humidity.

Signed-off-by: mvglasow <michael -at- vonglasow.com>