Td: allow VSpace, new block/inline model

Td now allows stretching vertical space.
To prepare for the vertical space, the table cells
were made to handle block objects and inline objects.

For now, the inline objects are barcode and image, the block
objects are paragraph, table and box.