Boolean type guessing added

Added type guessing for boolean fields.
By default it matches yes/no and true/false, but custom values can be provided to customize this behavior.