Add multi-row header support for tables

I've added onto @vongrippen's pull request #483 for multi-row header support for tables. Fixed the failing tests and also added some specs.