Make sensor accept blocks instead of procs

Fixes #28
Modify sensor tests to validate data
Fix examples to match new sensor behaviour
Merge pull request #29 from pcasaretto/sensor-blocks

Make sensor accept blocks instead of procs