[FIX] ir_attachment: ignore if model uninstalled

if the model of an attachement no longer exists (the according module have been uninstalled, for instance), ignore the security check
Merge branch '7.0' of https://github.com/odoo/odoo into 7.0-linux64