Cleaned up flow to use more components of YUI3 (e.g. instead of own DOM ready handler use YUI3's relevant handler).
Cleaned up old code & console writes.
Now the autocomplete feature works appropriately with parentheses and spaces.
Unfortunately will only autocomplete last token- I intend to fix this.
Also won't autocomplete token when retyping it (due to prefix #$)- I intend to fix this.
Now autocomplete works on whole text area! Much like an IDE should.
Doesn't have contextual help as is possible with an ontology (e.g. token after #$ist only autocompleting microtheries).
Currently has issue where if non-last token is modified and autocompleted, will move cursor to end.
Moved code into rangyinputs.js from cb-inline-edit.js to separate code as it has separate MIT license.
Merge branch 'TabAutoCompleteFeature' into develop
Appears OpenCyc gets bogged down if autocomplete makes a new query for each character as person is typing.  i.e. if user types 'dog' quickly, then three queries are made: 'd', 'do', and 'dog' (see browser console).  Unfortunatly it appears that the autocomplete plugin doesn't cancel the earlier queries, while in theory it should be able to. How Cyc would handle the canceled HTTP GET query depends on it I suppose- though at least the browser would see a speedup by cancelling that HTTP GET.
Changed the queryDelay on the Assert-Sentence YUI3 autocomplete plugin to 300 ms, as it is defined in the YUI2 autocomplete elsewhere. It was 50ms prior to this.
Merge branch 'QueryDelayConsistencyFix' into develop
Merge branch 'develop'