Bug 1011761 - Add ability to power on and off a pool of connected devices

This refactors mozilla.py a bit and moves some of the files into subdirectories. I'm not really sure if breaking backwards compatibility is ok or not here (is anything else using this yet?), so let me know if you'd prefer I keep the API as is and I'll submit a new pull request.