Bug 1018061: Have mozilla::pkix::der::Input::Read use EnsureLength instead of its own checks, r=mmc

--HG--
extra : rebase_source : f46d6b9bdcd7d7a272fb39f22312a89d2695db56
Bug 1018064: Replace mozilla::pkix::der::Input::Match with mozilla::pkix::der::Input::MatchRest, r=mmc

--HG--
extra : rebase_source : 5c5b14cf23b1e40854d241cbc482de40b01ac494
Bug 1018642: Factor out reusable NSS GTest infrastructure into a new NSSTest class, r=cviecco

--HG--
extra : rebase_source : 101c316c1ea54f5092a21af4d7a1be349c504800
Bug 1001188: Set the error code when the max cert chain length limit is exceeded, r=cviecco

--HG--
extra : rebase_source : ce9e1faa083f5c679e20a2b6d9e8d482462e75b0
Bug 1018633: Simplify the max cert chain length check code in mozilla::pkix and make it more efficient, r=cviecco

--HG--
extra : rebase_source : 7fa4cc6c1b46357abed0c57c6e24c622049c5acb