More Python3-compatible codeintel fixes, and update the test file to include arrays with annotations.

(integrated from komodo (trunk) change 80920 by ericp)

git-svn-id: https://svn.openkomodo.com/repos/openkomodo/trunk@13254 b87d16e7-d29f-4ee1-b5ec-817d645d335f