[devicepolicy] More complete test of CaCert API

Main improvement: checking whether a CA certificate is not only listed
by the system but also whether it's *trusted* by standard security
APIs like TrustManager.

Bug:17469404
Change-Id: If5be7451f6823f22c57db1b2b7b373784bf77d99
1 file changed