integrate changes from https://github.com/cgueret/ers/commit/34fdb2f1384261505284a7412500ff50d8d4b465
fix search
move constants to daemon.py
advertize ers-public
Merge branch 'feature/multidb' into develop
replicate only to bridges
fix search
Revert "replicate only to bridges"

This reverts commit 5895d75087983d81347dfea742e523229eee7484.
ignore other peers in presence of bridges
bug fix synchronization Python script
bugfix
add scripts to turn on/off insertion of fake statistics
Merge branch 'develop' of https://github.com/ers-devs/ers into develop
bug fix sync script; ModelT not anymore available, import deleted
Merge branch 'feature/sync-tweaks' into develop
Merge branch 'develop' of https://github.com/ers-devs/ers into develop
drop the concept of one thread per graph to be synched; instead, sycnh all the couchdb
drop the concept of one thread per graph to be synched; instead, sycnh all the couchdb
use ers.public_db to synch
adapt the script according to the new data model; problem: deletes are not anymore correctly propagated as _changes feed returns the 'id' of a deleted document, but the real id is stored as '@id' field