ENYO-3571: fix bad insertion of auto-generated functions

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-3571

Fix the missing handlers insertion according to:
* the existence or not of a comma after the last function/property declared in a kind
* the existence or not of comments between the last function/property and the end of the kind
* the existence or not of new (empty) lines between the last function/property and the end of the kind

Depends on lib/extra submodule update related to PR https://github.com/enyojs/extra/pull/35 (merged)

Tested on Win7/Chrome

Enyo-DCO-1.1-Signed-off-by: Vincent HERILIER vincent.herilier@hp.com