Moving the browser tests into the dist dir.
Replacing the global DB with a per collection DB.

Re #22