APIv1: Fix IdP and SP web links in json responses

Minor bug: the IdP and SP APIv1 controllers were generating incorrect
weblink entries in the JSON data for an IdP or SP:

IdP: "weblink":"https://registry.tuakiri.ac.nz/federationregistry/IDPSSODescriptor/show/3"
SP:  "weblink":"https://registry.tuakiri.ac.nz/federationregistry/SPSSODescriptor/show/5"

The links should actually be pointing to:

   identityProvider controller instead of IDPSSODescriptor
and
   serviceProvider controller instead of SPSSODescriptor

Fixed the 'controller' parameters to g:createLink.