add log4r as a dependency to gemspec.
use and cleanup a temp directory during tests.