Extracted all driver functionality to separate file in lib 'ds18x20.js' for making testing possible.
examples/app: Updated example app to function with new changes in driver.