Fix disclosure indicator calculations for table view cells

This is the first of a series of changes to the table view architecture that will lead to better cell size calculation and control via stylesheets.

Of note: cells can now be aware of whether or not they have a disclosure indicator.

So far only the messages item has been revamped.