Use of APP_PATH constant instead of old method Agl::app()->getPath().
New methods to delete APC cache.