A total of 40 well-paid, highly-technical jobs are set to be created by a major new energy storage facility set for Hunterston.