ENYO-1696: Report designer changes to the document to have the right undo/redo stack

* ENYO-1696: When switching back to a previously opened file, go back in the previously used interface (code editor or designer)
* ENYO-1696: Fixed indentation issue on json generated by the designer.
* ENYO-1696: Inject designer changes into ACE undo/redo stack
* ENYO-1770: Fixed trailing spaces
* ENYO-1770: Unable to select an area in code editor (when going from right to left)
* ENYO-1696: Fixed an issue when two stream positions are on a same line in function mapToLineColumns()
 - Added some comments
 - end parameter of mapToLineColumnRange() is no longer optional
* ENYO-1696: Changed the mechanism to insert missing handler methods in order to take advantage of ACE undo/redo stack.
* ENYO-1696: Changed the mechanism to insert modifications coming from the designer in order to take advantage of ACE undo/redo stack.

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>