Table_Name and Versioned-API changed

- Table_name is now static $table
- versioned is now static $versions
smilies is now in Core