FunctionScore: RandomScoreFunction now accepts long, as well a strings.

closes #8267
Oops, sorry, I misunderstood.  Fixed.