Add tests for Sender#emit arguments
Make label argument in emit optional

I've also added bunch of tests for the arguments. Javascript is so fun
in these cases...
Merge pull request #12 from epeli/optional-label

Make label argument in emit optional