Add ID and class attribute support to tables

Added support for {#id .class} attributes to tables when attributes are appended to the header line.