Split to patch and other utilities

Adapt tests.
Rename application FormatTeXFormPatch -> TeXUtilities