Added support for booleans and remembering values.
Merge pull request #3 from kaspernj/kj/fix_boolean_checked

Added support for booleans and remembering values.