Discovery of Multiply Imaged Galaxies behind the Cluster and Lensed Quasar SDSS J1004+4112