Change internal data store of LogBook from list to dict

This way it is consistent with FlowDetail, and offers much faster
*Find()*. Comments are also updated.

Change-Id: I014abc1beff317200586b23da90dfc24f4c7875a
Merge "Change internal data store of LogBook from list to dict"