Merge pull request #12 from mikedewar/master

moved the pqueue into its own file, and simplified the store a bit
.
Merge remote-tracking branch 'nytlabs/master'

Conflicts:
	synchronizer/synchronizer.go
Merge pull request #13 from nikhan/master

merge
.
Merge pull request #14 from nikhan/master

oops
added handlejson sleep
Merge pull request #15 from mikedewar/master

simpler test writer
this is how it is supposed to be, i guess.
cleanup. it works!
Merge pull request #16 from nikhan/master

working synchronizer
fixed case where an emptied queue would not start emitting again
Merge pull request #17 from nikhan/master

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

todos