Add 'boolean' as an atom type.

Previously, objects with a boolean value were considered to have a circular
reference.