add regression testing for #5166 , #5197 and #5241
test is actually related to Form instead of Fieldset class
fix Debug::getEscaper() never called at dump() when xdebug is not loaded
Import Escaper as use statement
fix breaks the lazy load of getEscaper
fix cs