Double beta decay in xenon-136 : measuring the neutrino-emitting mode and searching for majoron-emitting modes