Monitor: Added rapidjson and used it for generating json.
Monitor: Moved histogram in separated class.
Monitor: fixed collecting and outputting of histogram snapshots.
Monitor: added validating histogram snapshots for adding blank snapshot for seconds without activity. Added history_depth to histogram constructor which determines how many snapshots should histogram keeps.
Monitor: cleaned up. Temporary removed stacktraces printing. Removed io_queue statistics and used it from node.