master: Add function calculating fsnode checksum

To speed up metadata backup, the master calculates checksum of the metadata
and checks it against checksum of the metarestore's current metadata, which
runs independently.

Pipe + poll works, mfsmetarestore broken
master: hashes, move dumping from master to mfsmetarestore

Add calculating hashes of structures, fixed communication between master
and mfsmetarestore.