add window.downloadJSON() function for exporting JSON for use in tideline example
Merge pull request #100 from tidepool-org/jebeck/export-JSON-for-tideline

add window.downloadJSON() function for exporting JSON for use in tideline example