Add log_displayer support for -m and -p.

These options work as advertised in the help message. Also add
a new function in util for converting strings to numbers.

Change-Id: I33ab9add3f55c9139557b30ffe4de633782933e5
5 files changed