Merge pull request #136 from patriot1burke/master

refactor core/adapter
factor out jwt/jose/jws
Merge remote-tracking branch 'upstream/master'