use dict constructor instead of dict comprehension

dict comprehension is not supported in python 2.6
support wrap a Query in ConstantScoreQuery

See http://www.elasticsearch.org/guide/reference/query-dsl/constant-score-query.html
Merge pull request #268 from haiwen/master

use dict constructor instead of dict comprehension; support wrap a query in a constant score query