gitian: add statically built variant of bitcoind/bitcoin-cli

Rebased-From: ddcd1af
gitian: upgrade openssl to 1.0.1g for both win and linux

OpenSSL 1.0.1g fixes CVE-2014-0160.

Also bump dependency versions.

Rebased-From: 4a811b0