Added emitter function
- closes #5
Added POST support to tracker.js
- closes #4
Added tests for emitter.js