Added options attr.class to table class generation

This enables the specification of extra html classnames to the class attribute definition.