Quantum measurement and quantum gravity: many-worlds or collapse of the wavefunction?