Block API sort and fixes

For the purpose of comparing block dumps with other client implementations, I have made a couple improvements to the API server:
- sorted JSON keys
- added state `storage_root`

Fixed two bugs in the block response:
- when requesting a single block, a list was expected by `make_blocks_response(blocks)`
- block items of the type `bin` and `trie_root` were double hex encoded.