Add TableFormat command.

Explained in detail in the README.

Test with the new test file.

Sorted commands alphabetically to reduce mess.