Merge pull request #2 from pimatic/master

renaming and minor cleanups
pir1 protocol changed to take in account  'oscillator resistor' change
PIR1 return now a 'Presence' value instead of a 'state'