fix data races
add `make testrace` to travis
replace WaitGroup by Mutex in blockingEngine due to data race
Merge pull request #86 from tschottdorf/fixrace

fix data races and have travis check for them in the future