XCOMMONS-595: Move the KeyStore and CertificateStore API from platform

Fix up old javadoc