fix signrequest, use foldermap to pass in ca, fix tests
Merge pull request #1 from iantocristian/master

fixed sign request