add getConsentSignature API to support SDK integration tests

Add getConsentSignature API to support SDK integration tests. All tests pass. Tested manually using Firefox Poster.