After suffering through a four-year bear market, the once-cash starved mining sector is seeing capital inflows.