linesensor: Make LineSensor algorithm actually work

Determine the line position based on the standard deviation from the
mean sensor value
test: Add simple script to do an action repeatedly

do_often very simply calls a function at intervals.