Avoid race condition during updates of QPS checks

There's no need to match the whole document for the update query.
To the contrary: the document might have changed between fetching
and its subsequent update. Use the document's "_id" only (should
also be faster).
Merge pull request #94 from brevilo/avoid-race-cond-on-qps-update

Avoid race condition during updates of QPS checks