[java] KUDU-2671 require RANGE_SPECIFIC_HASH_SCHEMA when necessary

With this patch, Kudu Java client requires the newly introduced feature
flag RANGE_SPECIFIC_HASH_SCHEMA to be present at the server side when
creating a table with range-specific hash schemas.  The flag is also
required when altering already existing table, adding a new range
partition with custom hash schema.

This patch also provides test coverage for the newly introduced
functionality.

This is a follow-up to https://gerrit.cloudera.org/#/c/18633

Change-Id: I7e6625277cc2fb63000999f0c74d9b3d929d5657
Reviewed-on: http://gerrit.cloudera.org:8080/18687
Reviewed-by: Attila Bukor <abukor@apache.org>
Tested-by: Alexey Serbin <alexey@apache.org>
6 files changed