etcdserver: refactor non-blocking check for sync tests

It is hard to define whether it is non-blocking in different cpu-resource
environments. And it will block forever if it is implemented wrong because
it cannot commit proposal.

fixes #1503