Updating cohorts.js

Have included the following in this update:

* Custom variable tracking
* Setting the test's scope (e.g. persist cookies for page, session or visitor lifetime)
* Removed a bunch of code not in use
* Made it mandatory to include a storage adapter with each experiment