image: fix BuildImage

There aren't many differences. To get the image ID, users can parse the
output stream or call InspectImage using the given name.

Related to #70 and #73.