Exported Block de-/encoding

Adds NodeBlock for block de-/encoding.
Moves the PingManager to the base.util package.
Adds block de-/encoders

Adds the block decoders/encoders for the node blocks.