Fix str2bool to account for integer encoding of booleans

Some Phyloxml files use 0 or 1 for true/false