introduce pre-disable-app hook and first usage in files_encryption

This pull request introduces a pre-disable-app hook which enables app to execute some final operations before they get disabled.

Here it is used in files_encryption to reset the migration status once the app gets disabled. That's necessary to make sure that all new files get encrypted if the file gets activates again.

cc @FlorinPeter