Webfinger support
Fixed a bug in the webfinger code
Cleaning up extra parameters
Use correct number of arguments
Follow the new webfinger discovery_query method api.
This is an adaptation to faulty behaviour among other implementations.
Added support for webfinger query.