a couple tweaks to get motion sensors listing properly
TODO: rewrite Roomie.Common.HomeAutomation.DeviceType to support sensors
can now register scripts for device events
Added a Home Automation ThreadPool, which is accessed via HomeAutomationCommandContext, and saved by Network objects.
Added PowerChanged method to Roomie.CommandDefinitions.HomeAutomationCommands.Device
Called PowerChanged where appropriate
Added commands to set scripts for device events