Added static bit flag helper functions to Formatter.c.

Added general functions for bit flags:

  clearBitFlag(), hasBitFlag(), isBitFlagDifferent() and setBitFlag().

Replaced hasFontStyle() and didFontStyleChange() with bit flag helpers.