Fix interpretation of false as param to doc.canonicalize
Simplify the nil/false test in #canonicalize.
Merge pull request #992 from larskanis/accept-false-as-with_comment-in-canonicalize

Fix interpretation of false as param to doc.canonicalize