Update webfinger endpoint

This is some work I did a few weeks ago to make the webfinger endpoint compliant with the approved spec. XRD is deprecated completely, however I left it in and just made the default JRD. 

Also the official endpoint is `/.well-known/webfinger`. This pull request includes some jshint updates and makes deprecates pull request #21