Replace ripped Xmldsig code with gem
Remove unused code