[UIMA-4155] add bulk update methods, and eliminate extra int array creation / sorting if allowed

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1646270 13f79535-47bb-0310-9956-ffa450edef68