More than two dozen states are considering bills that would make it easier for households to adopt plug-in solar arrays.