[FIX] ir_attachement: search, if the model of the ir_attachement has been removed, the search ignore the attachement.
[MERGE] Forward-port of latest 7.0 bugfixes, up to rev. 5163 rev-id: dle@openerp.com-20131206162314-vjpgtag8qhkl1jhk