Remove things left by the subtree merge of gihp-packfile
[fix] call clearCache() only when the packfile class exists

The packfile class is constructed dynamically as soon as needed,
so it may not exist when the IO\File class is already initialized.

This is a method primarily used for testing purposes, so the chances
of harmful effects are limited to the test runner.
[doc] Add documentation about exceptions to Object\Tree