changed the collection code over to use events.emit, also dumpPrefs failed, so I changed the way we name and export it
split main code into lib/cookiemonster.js
Fixed new-instrumentation branch merge errors