Changes to StakeMiner

Add optional switch nMinerSleep and make sure we have a strong
connection before attempting stake.