added middleware to handle the performance issue
added rails mem cache for performance
replace memcache to use redis
Merge pull request #168 from fireweb/master

finished 399 auto complete search term