move search-default plugin from contrib
image.rb: support rack environment and make image_dir unless existent
fix error in plugin because TDiary.server_root was tainted
fix broken specs