Update openerp.class.php

search facility also added
eg :  search($whichField, $compare, $whatData, $model_name)
      search('name', 'ilike', 'asdf', 'res.partner')