[FIX] res.country name_search
[FIX] res.country name_search

* also returns name-matched countries when a country matches by code
* same for states
* extract almost-identical implementations of name_search in country and state
* remove useless explicit setting of context (also wrong)

akretion/openerp-server,akretion/openerp-server,akretion/openerp-server