+ Importing Facebook Connect plugin from Dragooon's repo. Without history, because I'm not going to mingle with that... (facebook/*)

* Wrapping license text, adding Wedge license.

! Fixing spacing, indentations, UTF8, line endings.

! Started work on converting to the latest Wedge version. Fixed URL to FB dev platform.

Signed-off-by: Nao <nao@wedge>
* facebook: Renamed ID to Wedge:Facebook, for simplicity (and an official flavor.)

! facebook: Use we_json_encode, in case we have json_decode support but not json_encode... So, what? It can happen. In an alternate timeline or something. (base_facebook.php)

! facebook: fixed for latest Wedge; replaced $scripturl with SCRIPT; $context['user'] with we::$user. (plugin.php)

! facebook: fixed $me['id'] being used here and there. I'm thinking it was the session variable that was really wanted. (plugin.php)

! facebook: moved the login button below the login box, but within it, not outside of it. Also HTML5-ized. (plugin.php, plugin.template.php)

- Removed unneeded globals. (we_pinterest/We-Pinterest-Main.php, facebook/plugin.php)

Signed-off-by: Nao <nao@wedge>