Add docker image commit, tag and save ability

Work in progress for #1198
This whole boolean is probably unnecessary, since we can just use ExportPath throughout to test if we're exporting.