Adding functions for adding boost_factor and random_score functions to a...

... function_score query. This solves issue #491