qcheck 0.2, again

After a cancelled PR, here is again the patch for qcheck 0.2. I tried not to change history in git, but that makes many commits/merge for a small result.