Added testem testing to run tests on all browsers and node environment.

Refactored tests. Added clear function test. Refactored clear function to not instantiate new Array and delete all collection callbacks.

Updated README for running test instructions and contribution instructions.