use HTML5 download attribute rather than hitting a server

For those who would rather not hit a server to simply export a CSV, you can use the code in this PR.

Browser compatibility here: http://caniuse.com/download

As of March 2014, works on current Chrome, Firefox, Opera, and others.

However, due to lack of compatibility on IE and Safari, I don't expect this PR can be accepted anytime soon.