added border suppor for table headers
added support for right border interpretation, will generate all-side borders none the less