add xunit test for component.index
there is also Gordon's change in it (we need $A.ns when importing aura.component.Component).
@bug W-1803585@
@rev tbliss@
Merging origin/lin/master-pending/xunit-test-for-document-index into master