Avoid rebulding mptt tree multiple times in a database update
Currently, when a the database its updated (with --all) the mptt tree is rebuild for every module that registers a model. This is unnecessary, as it's only needed to rebuild it one time per model.
I will upload a review that implements it.