change version to 0.5.10_pre
fix compilation --without-curl
fix compilation with gcc-4.7 (ticket #3478)

thanks for strcat for the patch.
update NEWS / 0.5.10 release
Merge tag '0.5.10'