added onewire scripts from wiki

+ some cleanup and refactoring

Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
added fanspeed script

Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>