support for encoding true/false to sqlite

Want to encode true/false atoms to 1/0.

This is a one-way encoding but better than nothing.