Fauxton: fix sorting for tasks on click

there is no node property, but a target, source or database
depending on the task
Fauxton: use .listenTo and not .on

There was no `.off` call on destroy, so these two Eventhandlers
where leaking memory
Fauxton: Extract a common filter component from logs

Create a reusable component from the filter that is used in logs,
that can be used in for tasks like
COUCHDB-2158 ("Apply filter with custom params on changes feed page")
and other situtations where a filter is needed.
Fauxton: fix regression for document editor

Introduced with ebade0f2f82d4da60e386f4aeaf24ecb98181e81