Require actual certificates for testNoAddedCertificates.

Until now, this test required only SHA-1 fingerprints of OEM-added
certificates to be present. To ensure more transparency and future
extensibility this CL makes this test require full contents of
certificates.

P.S. The base class of this test was changed from AndroidTestCase to
InstrumentationTestCase because it now needs to access assets from
the test package. Assets contain permitted OEM-added certificates.

Bug: 11483665

(cherry picked from commit 49ae0bb4ecdd5f5f7973fc09ea5f04d36100922e)

Change-Id: I03df26a9b4d7c8094dff1e91815298c1f103cb22
3 files changed