Added resultset in Table::all() method and toJson method in Record,TableSearch and Resultset