Bug 969188 - Part 1/3 - Fix mozilla::pkix handling of trusted v1 certificates. r=briansmith

--HG--
extra : rebase_source : 242b4849a7820d23518936a8c86ddcb7d9684394
Bug 969188 - Part 2/3 - mozilla::pkix only decode v3 extensions in v3 certificates. r=briansmith

--HG--
extra : rebase_source : 86e58ccf8538d0f40d3b24b89a92dceac095cb21
Bug 969188 - Part 3/3 - Test handling of v1/v2/v3 certificates from PSM. r=keeler

--HG--
extra : rebase_source : 321d603913f07a0afe64400e300146873e8a81af