Added explicit check for key length when loading blocks from disk, to catch 1.7/1.8 change. This
avoids the problem where mis-loaded blocks later cause an assertion error.
Merge pull request #601 from rnicoll/1.8-dev-leveldb

Fix assertion error loading 1.7 blocks in 1.8 client