Make criterion work with statistics >= 0.11

This fixes gh-42.
Bump version to 0.8.1.0
Added tag 0.8.1.0 for changeset 4d0d7cbd5c6b