Fix template arguments for various Redis string methods.
Fix conversion of bool values in the Redis type layer.

Is now written as "0"/"1" instead of "false"/"true" to save space and to be more consistent with the rest of the code.
Add assertions to the Redis test. See #770.