A residents group stopped a mine from being developed last month in NSW. It's just one example of what's called 'climate litigation', and it's making waves across the globe.