Curl_ossl_init: call OPENSSL_config for initing engines

Bug: http://curl.haxx.se/mail/lib-2014-06/0003.html
Reported-by: Дмитрий Фалько
KNOWN_BUGS: #83 was addressed with commit c50ce859187ca
config-win32.h: Updated for VC12

Bug: http://curl.haxx.se/bug/view.cgi?id=1378
Reported and Patched-by: Marcel Raad
winbuild: Fixed static OpenSSL builds following commit c50ce85918
build: Fixed Visual Studio static OpenSSL builds following commit c50ce85918
RELEASE-NOTES: Synced with 99303bcde5
winbuild: Don't USE_WINSSL when WITH_SSL is being used

Regression of commit d39bbcfa8d when compiling against OpenSSL.
transfer: fix info messages when switching method on 301 and 302

The method change is forbidden by the obsolete RFC2616, but libcurl did
it anyway for compatibility reasons. The new RFC7231 allows this
behaviour so there's no need for the scary "Violate RFC 2616/10.3.x"
notice. Also update the comments accordingly.
getinfo: HTTP CONNECT code not reset between transfers

httpproxycode is not reset in Curl_initinfo, so a 407 is not reset even
if curl_easy_reset is called between transfers.

Bug: http://curl.haxx.se/bug/view.cgi?id=1380
Curl_rand: Use a fake entropy for debug builds when CURL_ENTROPY set
tests: Disabled NTLM tests for non-debug builds

Added required "debug" feature, missed in commit 1c9aaa0bac, as NTLMv2
calls Curl_rand() which can only be fixed to a specific entropy in
debug builds.
NTLM: set a fake entropy for debug builds with CURL_ENTROPY set

Curl_rand() will return a dummy and repatable random value for this
case. Makes it possible to write test cases that verify output.

Also, fake timestamp with CURL_FORCETIME set.

Only when built debug enabled of course.

Curl_ssl_random() was not used anymore so it has been
removed. Curl_rand() is enough.

create_digest_md5_message: generate base64 instead of hex string

curl_sasl: also fix memory leaks in some OOM situations
curl_sasl: revert the goto for error bailout

They were added because of an older code path that used allocations and
should not have been left in the code. With this change the logic goes
back to how it was.
RELEASE-NOTES: Synced with 3aa1329e0a
http2: avoid segfault when usint the plain-text http2

This regression was introduced when *init was split into *init and
*setup...
conncache: move the connection counter to the cache struct

The static connection counter caused a race condition. Moving the
connection id counter into conncache solves it, as well as simplifying
the related logic.
http2: better return code error checking
https: Fix build when http2 is disabled
test1398: Added test to Makefile.am
sasl: Added back qop argument mistakenly removed in e95ca7ce

This caused segfaults on tests 823 869 907.