Local governments around the globe are coming up with some of the most innovative ways to cut energy use. There are lessons here for places of all sizes.