Track peers' available blocks
Add a skiplist to the CBlockIndex structure.

This allows fast (O(log n)) access to far predecessor blocks.
Use it to speed up CChain::FindFork and CChain::GetLocator.
Add skiplist unit tests
Merge pull request #4420 from sipa/skiplist

Add a skiplist to the CBlockIndex structure.