[FIX] ir.module.module: create module xml id also when auto-discovered

It was only being created during database initialization
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-linux64