url.c: Fixed memory leak on OOM

This showed itself on some systems with torture failures
in tests 1060 and 1061
FAQ: expand the thread-safe section

... with a mention of *NOSIGNAL, based on talk in bug #1386
CURLOPT_UPLOAD: Corrected argument type
gnutls: ignore invalid certificate dates with VERIFYPEER disabled

This makes the behaviour consistent with what happens if a date can
be extracted from the certificate but is expired.
tests: document more test identifiers and variables
test320/1/2/4: fix the port number substitution variables

These tests have been broken since commit 1958fe57 in Oct. 2011
tests: adjust for capitalization differences in newer gnutls-serv
gnutls: explicitly added SRP to the priority string

This seems to have become necessary for SRP support to work starting
with GnuTLS ver. 2.99.0. Since support for SRP was added to GnuTLS
before the function that takes this priority string, there should be no
issue with backward compatibility.
gnutls: fixed compilation against versions < 2.12.0

The AES-GCM ciphers were added to GnuTLS as late as ver. 3.0.1 but
the code path in which they're referenced here is only ever used for
somewhat older GnuTLS versions. This caused undeclared identifier errors
when compiling against those.
gnutls: fixed a couple of uninitialized variable references
Fixed some "statement not reached" warnings
tests: added globbing keyword to URL globbing tests
build: Fixed overridden compiler PDB settings in VC7 to VC12

The curl tool project files for VC7 to VC12 would override the default
setting with the output filename being the same as the linker PDB file.
As such the compiler file would be overwritten with the linker file
for all debug builds.

To avoid this overwrite and for consistency with the libcurl project
files, removed the setting to force the default filename to be used.
ntlm_wb: Fixed buffer size not being large enough for NTLMv2 sessions

Bug: http://curl.haxx.se/mail/lib-2014-07/0103.html
Reported-by: David Woodhouse
RELEASE-NOTES: Synced with aaaf9e50ec
netrc: treat failure to find home dir same as missing netrc file

This previously caused a fatal error (with a confusing error code, at
that).

Reported by: Glen A Johnson Jr.
RELEASE-NOTES: add the reporter of the previous bug fix
netrc: fixed thread safety problem by using getpwuid_r if available

The old way using getpwuid could cause problems in programs that enable
reading from netrc files simultaneously in multiple threads.

Reported-by: David Woodhouse
gnutls: improved error message if setting cipher list fails

Reported-by: David Woodhouse
RELEASE-NOTES: next one is called 7.37.1