[UIMA-3399] add a test for duplicate addToIndexes of the same identical FS - permitted or not depending on value of JVM arg (which has to be set by hand, currently - the test case is "manual" in this aspect, for now)

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1639912 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-4099] add test for adding subtype of AnnotationBase to the wrong index, via the API that previously was missing the check.

git-svn-id: https://svn.apache.org/repos/asf/uima/uimaj/trunk@1639913 13f79535-47bb-0310-9956-ffa450edef68
[UIMA-4059][UIMA-4099][UIMA-3399] add support for checking invalid updates to FS keys that are "indexed".  Remove now-extra check of wrong sofa when adding to index.  Improve view iterator to no longer create extra Java collection object. Set Bag Index impl to PositiveIntSet if not allowing duplicate addToIndexes. 

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