Having each light bulb intelligent seems like overkill, I can see a per circuit setup where you replace the light switch. First off its not going to go bad like a bulb which will be replaced eventually; even LEDs which still die too soon. Really, who came up with this light bulb idea...its just daft. Security motion detectors can be used to double effect here as well, you would naturally have them facing doors so the…
The control logic should ideally go into the socket, but with 50k hour lifetimes of LED bulbs, the lost efficiently of putting it in one over the other place is trivial. Also remember that putting the controls on the bulb makes it a trivially user-serviceable part, where putting it in the socket technically requires a electrician to install it (you and I are probably comfortable servicing domestic electrical installations, the average consumer isn't, and shouldn't be) - especially in these early days, when neither standards, features or protocols are anywhere near finalised, investing a couple of hundred dollars in bulbs is much better than investing thousands in electricians fees.