Thrift 0.9

Hi, 

here are some improvements I made for my own use that I'd like to have some feedback on.

Here's what I did :

- recompile the thrift dsl files with a more recent (and slightly patched) version of thrift (0.9) that, among other things, add a ClassLoader. (The actual autoload.php is completely useless)

- modified the sample code (both client and oauth) to use the autoload and get rid of all the require_once.

- I took the liberty to submit your patch (addHeaders() in httpClient) to thrift (https://issues.apache.org/jira/browse/THRIFT-1878)

All in all, I find it cleaner and easier to use.
At least it suits my needs :)

Laurent