Clean up in galileo.js

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
Mux and PWM classes don't need to be Emitter subclasses

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>