Remove unnecessary initializations
Make it possible to tell the project that it's being reloaded

So far, we had the logic that tells whether a project is being reloaded
duplicated between the cmake manager and the project* classes.
This patch makes it possible to the plugin to delegate the responsability
to the IProject instance by telling it what's the job responsible for the
reload.