Add base class for tables without scripts

Use StructTable for tables without script and ScriptStructTable for tables with
scripts. TilesTable is used as example for tables with scripts.