Updated the formatter handling in propel2.

Fixed propelorm/Propel2#515.