Fix for Issue 1617: Removed all references to CodeHintManager from Editor

Fix for #1617.
Also seems to fix #1670.