modifications into DownloadManager 

- use Boost.Asio rather than libcurl for downloading 
- fix the getTempFile for windows