build/common: Add remote_fetch curl wrapper

This patch purpose remote_fetch in order to make curl/wget usage
consistent between calls. The main point is to use the curl retry
mechanism to bypass temporary remote failures.

This can be a start point to make our build process resilient to upstream failure ...
Let us know your thoughts about that. We start to use it to build SF images.