Allow query_weight and rescore_query_weight to be zero.
Merge pull request #460 from maciejkula/bug/rescore_weights_zero

Allow query_weight and rescore_query_weight to be zero.