Generate a log file for each built book

Generate a log file build-${book}.log.gz for each book in the top-level
directory.

Also, add --debug option that for now only serializes the built to
see errors in the build_book invocation.

Change-Id: I1d81eaefa15f0d6bc103b9d3adbbf12b092ba7e6