Add core_ext for TrueClass and FalseClass

This adds the to_sym method to TrueClass and Falseclass, as they can
appear in a hash.