re-synced to original pyprocgame-dev

last commit had several changes to pyprocgame unrelated to the LED
controller. Resynced to to the original. Also incorporated Koen’s
changes to support inverted polarity LEDs.