Moved URLEncoder down to tooling lib, added exception->querystring method.