Clean up versioning and remove #ifdefs that we do not define.

ok beck@
Provide correct version details for LibreSSL.

ok beck@ deraadt@ miod@
Missing initialization; OpenSSL PR#3289 and #3345 via OpenSSL trunk.
Missing initialization for error line in error paths; from Coverity via
OpenSSL trunk.
Make CMS_decrypt_set1_pkey() return an error if no recipient type matches,
instead of returning a random key; OpenSSL PR #3348 via OpenSSL trunk
Missing calloc() return value check in dgram_sctp_ctrl(); from Kurt Roeckx via
OpenSSL trunk
In ssl3_get_client_key_exchange() parsing a GOST session key, invoke the
regular ASN.1 parser rather than trying to handroll one and potentially
misbehave; OpenSSL PR #3335 via OpenSSL trunk.