[UIMA-3513] fix logic for seeing if a view belongs to a CAS, to work better with wrapped CASes.  Add test case.  Fix some javadoc comments

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