Corrected Facebook PHP SDK

* Fix PHP SDK version to 4.0.7 for now
* Implement arrayaccess on Cursor