extracted contacts db logic from main worker script
attempt to fix tests
Add a configuration file in javascript form
For the worker, load the configuration as a script to avoid async initialisation issues
Add a comment to explain the requirement for a function wrapping the config variable
Merge pull request #245 from Standard8/config_sync_load_worker

Make the worker load the configuration as a script to avoid async initialisation routines
sync with master
automatic contact db loading
removed no more necessary dynamic database name
updated tests to match recent CollectedContacts API changes
don't fail on contacts db being unavalaible

just log the event
added test for error handling in loadContacts
fixed jshint issue
better CollectedContacts options handling
CollectedContacts tests to run against a dedicated test db
CollectedContacts.all() to preserve insert order
even simpler contacts db default options handling
CollectedContacts: added tests for error handling
CollectedContacts: added jsdocs and comments
CollectedContacts: better handling of drop() attempts when db is blocked