Avoids (minor) jQuery fragments cache leak

It seems that slickgrid when running in certain situations causes
unexpected growth of the jQuery fragment cache (lots of construction
and destruction of slickgrid instances within the same 'page')

I spotted this when working on some memory allocation issues in my
app, but was unable to replicate it in the provided slickgrid tests.

However, it seems that the code this patch replaces should adequately
address: http://bugs.jquery.com/ticket/11325

Signed-off-by: ciaranj <ciaranj@gmail.com>
Merge pull request #634 from ciaranj/jquery_fragment_bloat

Avoids (minor) jQuery fragments cache leak
minimize getDataLength() calls
Merge remote-tracking branch 'upstream/master'
back out for loop changes
Merge remote-tracking branch 'upstream/master'