Fixed a bug where fast streams with a slow callback would throw large chunks of data away in the _flush method. Plus test case.
Update .gitignore to ignore npm stuff
Added mocha as a dev dependency, plus an npm script to run tests. Tests can now be executed with 'npm test'