Partially port [2632] to 0.9-stable, to be able to provide a migration paths for the removal of `TRUE`/`FALSE` fro `trac.util`.
Authored by: cmlenz 2005-12-29
Parent: [r2696]
Child: [r2698]