Allow passing credentials in Docker::Image.build_from_dir

Fixes #129. Please check the referenced issue for background information.