refactor(api): add new endpoint and change downloading of data
refactor(api): add new endpoint and change downloading of data

Add new api endpoint for statistics. Change behaviour of downloading data /boxes/data and
/statistics/descriptive. Therefore use $window.open() instead of creating hidden anchor to download
generated csv

mpfeil/OpenSenseMap,sensebox/OpenSenseMap,mpfeil/OpenSenseMap,sensebox/OpenSenseMap