Extended x509-track to allow SHA1 certificate hash to be extracted.

For example:

  x509-track "+SHA1"

will extract the SHA1 certificate hash for all certs in the
peer chain.

This patch is ported from OpenVPN 2.1.

Signed-off-by: James Yonan <james@openvpn.net>