csv fixes

Changed all export options to use geoserver proxy endpoint. Created robust csv export that handles existing results layers too.