Added table row to table head

According to HTML specs the only child of <thead> should be <tr> and in <tr> there could be <th>.
Merge pull request #139 from marvin85/develop

Added table row to table head