Correctly compute missing dependencies

review935002
Fix encoding domain names with trailing dot

review949002
Order ir.model by model instead of translatable name

ir.model as a core model is often as many2one but ordering by the translatable
name is quite slower because of the join with the translation table so better
to prevent the join by using the model field.

review954002
Add factor on number fields

review824002