Added update function which uses elasticsearches '_update' API, instead of a roundtrip get / manual update / reindex
Added support for the script/params parameters.  Also made doc optional
Merge pull request #3 from rookdev/upsert-support

Added update function which uses elasticsearches '_update' API, instead ...