[bugzilla, mantis] added cache evition routine, implementation for bugzilla, fixed a problem of resource in testCOnnexion of BugZilla