Call process.removeAllListeners() in cli spec

Each call to cli in the spec installs a new listener for the uncaughtException
event. After 10 of them this results in a warning from Node.js:

	(node) warning: possible EventEmitter memory leak detected. 11 listeners
	added. Use emitter.setMaxListeners() to increase limit.