[FIX] properly destroy client widgets (web client)
[FIX] properly destroy client widgets (web client)

The new action manager only destroyed viewmanager widgets instead of
any old widget.  It now checks for the widget class.

Also, minor improvement to clear_widgets: vms used to stand for
view_managers, but it can destroy any widget.

optima-ict/odoo,storm-computers/odoo,cdrooom/odoo,odoousers2014/odoo,mkieszek/odoo,Elico-Corp/odoo_OCB,alhashash/odoo,cdrooom/odoo,addition-it-solutions/project-all,ubic135/odoo-design,tvtsoft/odoo8,dfang/odoo,OpusVL/odoo,odoousers2014/odoo,cpyou/odoo,laslabs/odoo,hip-odoo/odoo,odoousers2014/odoo,ygol/odoo,Grirrane/odoo,bplancher/odoo,laslabs/odoo,deKupini/erp,stephen144/odoo,mkieszek/odoo,hip-odoo/odoo,sysadminmatmoz/OCB,storm-computers/odoo,deKupini/erp,Elico-Corp/odoo_OCB,storm-computers/odoo,alhashash/odoo,tvtsoft/odoo8,microcom/odoo,odoousers2014/odoo,tvtsoft/odoo8,dfang/odoo,microcom/odoo,addition-it-solutions/project-all,syci/OCB,laslabs/odoo,sysadminmatmoz/OCB,cpyou/odoo,optima-ict/odoo,Grirrane/odoo,mkieszek/odoo,addition-it-solutions/project-all,inspyration/odoo,storm-computers/odoo,microcom/odoo,odoousers2014/odoo,tvtsoft/odoo8,tvtsoft/odoo8,stephen144/odoo,Elico-Corp/odoo_OCB,optima-ict/odoo,Elico-Corp/odoo_OCB,optima-ict/odoo,ygol/odoo,ubic135/odoo-design,mkieszek/odoo,cpyou/odoo,stephen144/odoo,bplancher/odoo,optima-ict/odoo,sysadminmatmoz/OCB,laslabs/odoo,stephen144/odoo,odoousers2014/odoo,bplancher/odoo,dfang/odoo,Grirrane/odoo,ygol/odoo,ygol/odoo,deKupini/erp,hip-odoo/odoo,microcom/odoo,ygol/odoo,addition-it-solutions/project-all,ubic135/odoo-design,syci/OCB,cdrooom/odoo,syci/OCB,mkieszek/odoo,sysadminmatmoz/OCB,microcom/odoo,sysadminmatmoz/OCB,hip-odoo/odoo,Elico-Corp/odoo_OCB,microcom/odoo,dfang/odoo,ygol/odoo,cpyou/odoo,syci/OCB,inspyration/odoo,laslabs/odoo,alhashash/odoo,addition-it-solutions/project-all,stephen144/odoo,Elico-Corp/odoo_OCB,addition-it-solutions/project-all,bplancher/odoo,syci/OCB,cpyou/odoo,sysadminmatmoz/OCB,inspyration/odoo,alhashash/odoo,deKupini/erp,alhashash/odoo,OpusVL/odoo,dfang/odoo,OpusVL/odoo,laslabs/odoo,storm-computers/odoo,Grirrane/odoo,ubic135/odoo-design,hip-odoo/odoo,bplancher/odoo,Grirrane/odoo,Grirrane/odoo,cdrooom/odoo,dfang/odoo,OpusVL/odoo,tvtsoft/odoo8,stephen144/odoo,optima-ict/odoo,storm-computers/odoo,syci/OCB,alhashash/odoo,sysadminmatmoz/OCB,bplancher/odoo,ygol/odoo,mkieszek/odoo,hip-odoo/odoo,deKupini/erp,inspyration/odoo,ubic135/odoo-design