WIP: [Ticket/11838] Support OAuth during registration

This patch aims to finish minimal OAuth support for phpBB3.1. It aims to add the ability for the user to use an external account during initial account creation on the boards.

http://tracker.phpbb.com/browse/PHPBB3-11838