Twitter’s open API is leading people to build apps to turn on the lights, call if the plants need water, or help you quit smoking. All in 140 characters or less.