Added partial_fields function

fields can be used to use wildcards to control what part of the _source
will be loaded based on include and exclude patterns.
This function was missing, while the "fields" function was already
implemented.
Note that I have not created a unit test for this as I am a bit of a javascript noob still and didn't really understand the current unit tests.