Add xmlid support

Add xml_id_get function:
`openerp_test_generalmedia >>> comp = model('res.company').xml_id_get('base.main_company')`
`openerp_test_generalmedia >>> comp.name`