Java Access Bridge support: fix broken object navigation within tables.
Specifically:
* The indexInParent property of NVDAObjects representing table cells in Java Access Bridge is None if the object was not created via an event. Specifically AccessibleContextInfo.indexInParent is -1. This completely breaks next and previous. Therefor for next, previous, firstChild, lastchild and children: correct the new object's indexInParent to what it should be.
* The parent property of NVDAObjects representing table cells in Java Access Bridge is the Desktop window if the object was not created via an event. Specifically getAccessibleParentFromContext returns 0. This causes next and previous to sometimes end up outside the Java application. Therefore for next, previous, firstChild, lastChild and children, set the new object's parent to the correct parent if it doesn't seem to be a Java object.