Add SpainCoin support

Imported from https://github.com/SpainCoinProject/p2pool