Python: Return the matcher's output to the calling process.

This is helpful in case the scanner client actually wants to do
something with the matching certificates. The example simple_scan
utility demonstrates that by writing all certificates from the log.
Convert to autotools.