Add hash field to string and monotext handlers

This allows for indexed equality checks and sorting

Fixes error I'm getting in an app using this thing:

    BLOB/TEXT column 'value' used in key specification without a key length