Twitter 1.1 Changes

The Twitter plugin has been broken since yesterday when Twitter took the 1.0 API offline. The 1.1 API requires all requests to authenticate with OAuth, which was only supported in some calls by the Twitter class used by Phergie.

I've used a library installed with composer to replace this underlying library with one that supports the 1.1 API and authenticates with OAuth for all requests.

Additionally I've got the Twitter unit tests working (what there is of them).

Although I have used composer to install the library, it would also work by putting it on your include path.