Merge pull request #13 from nikhan/master

merge
Merge pull request #14 from nikhan/master

oops
simpler test writer
Merge pull request #15 from mikedewar/master

simpler test writer
Merge pull request #16 from nikhan/master

working synchronizer
Merge pull request #17 from nikhan/master

fixed case where an emptied queue would not start emitting again
Update synchronizer.go

todos
tidying and removing logging
Merge pull request #18 from mikedewar/master

tidying and removing logging
gofmt
Merge pull request #19 from mikedewar/master

gofmt
a bit of cleanup
Merge pull request #20 from mreiferson/cleanup_20

many thanks @mreiferson !
nsq writer instead of POST