In the small town of Hay, wind and solar developers were popping up left, right and centre. So the local community decided to take control and set the rules.