Added file_download_progress and fixed potential bug in api.search().

Download progress is enabled through curl's inbuilt support for a
progress callback function.

Json::nullValue are now ignored to enable a more robust program.
Merge pull request #46 from luuse/file_download_progress

Added file_download_progress and fixed potential bug in api.search().