Produce correct query string in Quicksearch on specific setup.

This produces correct query strings in my settings with:
Ruby 1.8.7,
Rails 2.3,
Graylog2 0.9.6.

Before this i had no return value for the query ...{"query":"message:fcgi"}}..., now it is simply ...{"query":"fcgi"}}...