Fix: Huge performance improvement for exporting data
Fix: Huge performance improvement for exporting data

- This is based on PR #15 - All credit to @ahd for the change
- In a simple test I just tried, with a table of 7000 records, the
  export of data went from 138 seconds to 80mS! Now that is a serious
  improvement - thanks @ahd!
- I've based this change off #15 but the code style is a little more in
  keeping with the rest of the view.
- Interestingly, `new Array()` is not faster if you just `push()` onto
  the array, but if you know the size you want (we do here) then it is
  faster:
  	- http://jsperf.com/js-push-vs-index11/33
	- https://jsperf.com/new-array-vs-literal/15

MuellerMatthew/Buttons,jeremysnyder/Buttons,ExchangeCore/Buttons,Woodham/Buttons,KedneckInc/Buttons,ExchangeCore/Buttons,jeremysnyder/Buttons,Woodham/Buttons,MuellerMatthew/Buttons,KedneckInc/Buttons