ANSI color codes now reset text attributes. Fixes BUKKIT-3508

The client resets all formatting after a color code is received, but currently the ANSI codes do not, and so the console does not accurately reflect the appearance of the formatted text. Instead, the ANSI color codes are now set to reset all text attributes.

Remapped by Srg2Source from Bukkit/CraftBukkit@388a2991b0f1d62b96bb7969b65cb70d93287056