Switch from wget to curl for downloads

May solve issues like https://github.com/Hexxeh/rpi-update/issues/65