refactored signing

hopefully the new interface is a bit more intuitive
refactor jwe to use newer interface
minor test coverage improvements
add badges to readme