cert chaining, v.1000
handle self-signed
comment and close global chain validation
Merge branch 'desudesu'

Conflicts:
	lib/certificate.ml