improve tasks on Rakefile
add some matchers
add rubyzip gem
use full path to read configuration template
fix configuration template
reduce the time inside a locked area when syncing memory to database
fix compilation when --without-http-cache is used
make test more stable