Expand the log list printing utility to generate code for Chromium.
Reviewed: https://codereview.appspot.com/103340045/
Modifying print_log_list to generate code in a general fashion rather than Chromium-specific.
Python: Extracting a proper interface for the scanner, so tools that
use the scanner can be written.
The interface is a bit preliminary and the code is not free from print
statements. Refinements are welcome.