California's utilities will be required to buy energy storage capacity totalling 1.325GW by 2020 under a "first of its kind" target set by state regulators.