added FlattenTable module, a unit test and a element in the documentation.

fixed bad formatting in table.md