Feature/810 pullrequest

here comes a new pull-request with the changes suggested by Jesper.

about the accept-form - in bibliotek.dk we need the user to accept saving their wayf-id the first time they login via wayf. It is only added if provider implements it.

The ding_wayf_login-method has been changed quite a bit. basically it now gets a form_state from the provider and then submits user_login_block. Thus the provider needs to implement a method for delivering the form_state expected by ding_user. We have implemented our own provider, and have no resources to do the same for openruth and alma. As i understand it both providers can deliver userid and password via some backdoor .. if so the providers needs to implement [provider]_wayf_login_creds method and return:
  $form_state['values']['name']
  $form_state['values']['pass']
but as i see it it's the providers responsibility