Added functions clear, appendGroup, insertGroupBefore for #312

Also modified action bar to show functions in action in grid.htm