Improve setValue/addItems performance

The performance is improved for bulk inserts by delaying the processing of intermediate class updates and caret manipulations.  This leads to significant performance improvements as demonstrated by the [test case](http://jsfiddle.net/fDhD7/2/) created for #423.