[picnic] add requestContext, and small bugfixes
[helpers] check for last slash in generate cert to avoid double slash