How do I manage a large array of "motion sensors" and lights?
There are several companies who provide turn-key solutions for this kind of application when it's wireless and internet connected. Some, from hardware to web APIs.

http://www.iobridge.com/

http://www.pachube.com/

http://arrayent.com/

They may be a good place to start.