Light storage and control of photon-photon interactions in a cold Rydberg gas