Implemented update by paths

Using `paths` for updates, document field values will be overwritten
instead of merged.
remove unused and unresolved import
add support for Byte and BytesRef to the XContentBuilder