update analyze.py script

update ram and node heartbeat log format, and analyze script to
parse it. graphs can be drawn for all memory usage in aggregate,
or for each node (by using the -d option to the plot subcommand).

closes #144