update webfinger tests to new URI and JRD default expectations
ensure state exists for the template to render
fix case where username variable is used to validate the username before the username variable is actually set. using this.params.username now, and also making sure core.isValidUsername function checks for undefined. tests updated
fix for node v0.11 differences. url.parse was returning  instead of an empty object when no params were found in the url.
fix style preference
Introduce webfinger changes in a back-compatible way.