Adds support for native score scripts.
Start adding support to query builder for custom score script
Custom score script support tests.
We could generalize this a little bit and use it for both native scripts and the generated scripts. What do you think?
Refactor scoring functions for elastic.