Add smart limit for /search interface
Add smart limit for /search interface

keys_only requests are super fast. with_messages queries are super slow.
Adjust automatic limit accordingly to reduce the likehood of timeout.

Review: http://codereview.appspot.com/5078051/

ligthyear/quick-check,ligthyear/quick-check