Store orphan blocks in serialized form
Merge pull request #3516 from sipa/serorphans-head

Store orphan blocks in serialized form