fixed addTableAttribute for class attribute

Moved the setting for the default table class to rex_list(), because the definition in get() would override settings by addTableAttribute.
fir for fixed addTableAttribute for class attribute

early setting of class attribute won't work. Now check for a existing class attribute in rex_list::get().
Merge pull request #177 from sjewo/master

class attribute and rex_list::addTableAttribute()