add SSL test resources and make tests pass

* copy test resources (SSL keys, etc.) from puppetdb master
* fix namespaces
* add bouncycastle (crypto lib) dep