add method that allows for putImage call to block until image has finished writing

git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@13936 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd