Memoize calculation of column widths in SimpleTable

Fix for #1385. Assumes that the formatting information values are either a hashable type of a list of hashable types.