Add support for sensors

Hardware sensor not yet supported, just returns false.

However, the simulator now has an interface for changing sensor
values.