Single spontaneous photon as a coherent beamsplitter for an atomic matter-wave