Add pre-install and pre-update check

Uses of the new script handler of the BundleRecorder.

Need [this Pull Request](https://github.com/claroline/BundleRecorder/pull/4) to work.