Add erorr handling for BHI160 sensors.
Introduces an error type for bhi160 related methods and update potential failing methods to return results. This should ensure that it is not possible to encounter a panic during sensor interaction.
This will also:
- add minor cleanups in
- update the example to use the
?operator instead of