Make tests run in node via 'node test.js'
Add test for pause/resume
Stop requesting animation frames when stream is paused

Since a new frame was being requested for every 'data' event the process was
unable to exit due to unfinished timers.

Fixes #12
Add comment to clarify need for second if(!ee.paused)
Code style fix
Merge pull request #16 from CMTegner/fix-pause-resume

Fix pause/resume