add analyze feature
cosmetic
Removed unused stuff
add Begin-description to analyze
Merge pull request #4 from matsuu/measure

Added analyze feature
split Flush(w) to Dump(w) and Flush()
Merge pull request #5 from netmarkjp/split_flush_into_flush_and_log

split Flush(w) to Dump(w) and Flush()