Function FlashNode.shutdown

Store all the node's and each channels' metadata to the DB, and shut down the gossiping timer.

void shutdown() @safe;