add nsstools_add_cert() function

Imported and renamed the port389_nsstools_add_cert() function from:

    https://github.com/jhoblitt/puppet-port389/tree/93e211f0ef862659523f37ef638f23e127198a94