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