Cancel listening to changes during teardown

This cleans up the change listener when the application is being destroyed. It removes the `EventEmitter` memory leak warning discussed in #25, whose appearance was dramatically reduced by #23, but still happens for me when running my whole acceptance test suite.