Minor update on modelgen tool and datagrid

We put a definition of Widget.Paginator to the datagrid's extension.
We no longer use app.Widget.create() to init the paginator UI in
datagrid.