don't allow pagebreak in thead or tfoot
Merge branch 'pagebreak-in-thead-tfoot'

see discussion on #105