Galileo post-Hackathon bug fix

* PWM and DIGITAL now work tog
* dimmer.py can check PWM and OUT
* _get_pwm_duty_cycle implemented