Upgrade to libcurl 7.31.0.
Move lib/build ignores into separate .gitignore.