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.