ENYO-1032 : Auto-completion should propose only public members when editing in a kind A some code referring to another kind.
- add conditions for checking the function (public/private)

Enyo-DCO-1.1-Signed-off-by: Kiwook Shim <kiwook.shim@lge.com>
ENYO-2340: Fixed auto-completion no longer working for this.$.*.*, enyo.* and onyx.*

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>
Merge pull request #285 from enyojs/ENYO-1032-kiwook

ENYO-1032 : Auto-completion should propose only public members when editing in a kind A some code referring to another kind.