File Download, Search and BSS Samples

New FileService.downloadFile API and associated unit tests
New BSS samples
Fixes for JavaScript search samples