MDL-45843 mod_lti: Improved registration process

A message is now displayed if the registration page has not been loaded
in the iframe within 20 seconds.  If a user is returned to Moodle
without a tool proxy being sent, the registration is moved back from
pending to configured.