Add a block param to build_from_dir to capture Docker build output.

This does not break backwards compatability, but rather adds an optional block
parameter to Image.build_from_dir that allows the user to capture chunks of
output produced by Docker as it processes a Dockerfile.