Support max31855 thermocouple over spi.
Limit SPI transaction to 16 bits.
Some error handling cleanup.
Changed config parameter name.
Added buffer for averaging of measurements to improve PID robustness.

Also ignore occasional failed measurements from the thermocouple.
Formatting changes.
Merge pull request #378 from hakalan/thermocouple

Support for MAX31855 thermocouple