function helper_addMoveEvent(events, block, newX, newY) {
  events.push(new Blockly.Events.BlockMove(block));
  block.xy_ = new goog.math.Coordinate(newX, newY);
  events[events.length-1].recordNew();
}
Helper function to simulate block move events.

@param {!Array.<Blockly.Events.Abstract>} events a queue of events.
@param {!Blockly.Block} block the block to be moved
@param {number} newX new X coordinate of the block
@param {number} newY new Y coordinate of the block