Fixed missing autocomplete after content filter was removed.

I assume that #filter [name=field] was confused with either #has-defined
[name=field] or #field-is [name=field] or both and somehow change() wasn't
doing anything.
Dropped the name attribute again in #has-defined etc.

I cannot live in a world where I would explicitely address the only <select>
tag in a form. So I've made the script look stupid in only one place instead.
Replaced $.add() with the comma selector.
Replaced $.first() with the :first selector.
Prevented exception when replicating all documents.
Fixed wrong replicant link if target is external.
Removed global JQXHR that was used for debugging or something..
Prefixed target with 'http://' if replication was unsuccessful.

I can't assume a wrong target if it contains a slash and it has no http or
https at the beginning, because it still may constitute a valid local target on
CouchBase or some other implementation.
So I've let one replication deliberately run with the specified target, and
only if this one failed and the above conditions are met, prefix the target and
post to /_replicate again.