Adds support for non-BOOL instances of Checkmark

This handles the case where some backends implement BOOL types as either Int64 of ByteString valued columns (notably sqlite).