Throw exception if getWork detected a race condition. Fixes #41
Merge branch 'getwork-race' into peerlibrary