Simplified and HTML lowered statement dumps

Initial import, adaptation, and cleanup of statement simplification, HTML dump. Original code by @zingales. This needs a review.
I think one close_div should be moved before the div for the body. Right now, allocate nodes indent their bodies, which is different from the behavior of the existing IRPrinter.