Cancel event propagation on replication swap.

Fixes COUCHDB-2141. Previous implementation called event.preventDefault() but did not stop upwards propagation - the click event would trigger navigation to the main database panel. jQuery calls event.preventDefault() and event.stopPropagation() when false is returned from an event handler so just do that here.