[builder] fix infrared sensor

Thanks to Johannes Horvath <horvath at inmach.de> on morse-users.
[pymorse] mv poll thread class to stream module
[tools] simplify hybrid node
[test] add infrared basic test