res_user: fix default args, close db cursors.
res_user: fix default args, close db cursors.

Conflicts:

	bin/addons/base/res/res_user.py

splbio/openobject-server,MarkusTeufelberger/openobject-server,ovnicraft/openerp-server,MarkusTeufelberger/openobject-server,splbio/openobject-server,gisce/openobject-server,MarkusTeufelberger/openobject-server,gisce/openobject-server,ovnicraft/openerp-server,vnc-biz/openerp-server,vnc-biz/openerp-server,splbio/openobject-server,gisce/openobject-server