Modified ray sensor to be an independently usable sensor. Basically, it
includes the complete functionality of the former IR sensor, except the
characteristic function.
Consequently the IR sensor is now able to inherit most methods from the
ray sensor class and implements only the characteristic function