ENYO-3571: fix comma issue due to position calcutation that provides a range with column values equal to -1. This value generates the issue
ENYO-3571: fix a wrong function insertion when last function is followed by a comma
ENYO-3571: previous solution won't work in case there's no CRLF line termination; if related position.column going back 2 bytes gives -1, it's a CRLF line termination, must go back one byte further
ENYO-3571: fix a bad english comment, use trace instead of log; remove a space character
ENYO-3571: rename variable
ENYO-3571: rename once again blockEnd to insertionPosition
ENYO-3571: use last version of extra lib in order to get new data from the analyzer (function's block start/end)
ENYO-3571: fix the missing handlers insertion according to:
* the existence or not of a comma after the last function/property in the code
* 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
ENYO-3571: rename Ace.js to AceWrapper.js, it disambiguous Ace.js and lib/foss/ace-build/{src}/ace.js
ENYO-3571: rename kind Ace to AceWrapper
ENYO-3571: rename ace variable to aceWrapper
ENYO-3571: fixed missed rename from ace to aceWrapper
Merge pull request #686 from enyojs/ENYO-3571

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