Fix jasmine tests for the certificate manager.

Note that the public key hash tests have been disabled due to them still failing.

http://jira.webinos.org/browse/WP-803

Jira issue: WP-803