Percolation based architecture for cluster state quantum computation using photon-mediated entanglement between atomic memories