linesensor: Add basic line sensor class

Returns a value indicating the direction from the centre sensor to the
line
TODO: Find out a best estimate of where the line is based on historical
readings (so you can find the line again)