More communities than ever are using solar energy thanks in part to a program that makes it easier for local governments to make the switch to sun.