Make getApplicationAccessToken public

For posting apprequests, we need to use the application access token
not the user one. It is easy to specify this in the parameters to api
call except that the method to retrieve it is protected. I can see no
obvious reason why.
Marked deprecated methods with @deprecated.
Constructor reuses $state local variable pulled from persistent storage.
fix curl ssl cacert invalid file
Fix bug in CSRF state persistence when using shared sessions.
BaseFacebook loads the stored state in its constructor. However, at
that point, the shared session ID has not yet been initialized, so
getPersistentData() will return data from the non-shared-session cookie. Since
initSharedSession() depends upon state initialized in
BaseFacebook::__construct, just re-initialized the stored
state in the shared session situation.

Added appropriate tests to check CSRF state persistence with and without shared sessions.
Added the extra param: appsecret_proof to the oauth api calls
Removed duplicate multiline comment start
Merge pull request #69 from anankan/master

Added the proof of appsecret param to API calls
added relative link to the example
added color to the snippets
added composer usage example
Merge pull request #8 from dmnc/master

Make getApplicationAccessToken public
Merge pull request #10 from dharkness/deprecations

Add replacement method to @deprecated tags
Make getLoginStatusUrl use /dialog/oauth

To make this a drop in replacement for the old endpoint, we also need
support from the /dialog/oauth endpoint. Specifically, the current
endpoint, when using display=none, always return the response as part of
the fragment, while the PHP SDK needs the signed_request as a query
string argument.
Check isset before unset
Merge pull request #98 from stevenwoodson/master

Small fix to base_facebook.php
Merge pull request #61 from gary-rafferty/master

Add phpunit as a dependency in composer.json
Merge pull request #95 from facebook/gFosco.unset1

Check isset before unset
Merge pull request #96 from liuggio/master

3 huge issues solved.
Merge pull request #46 from dosercz/master

Fixed curl ssl invalid cert file
Merge pull request #59 from JohnnyGoods/master

Fix bug in CSRF state persistence when using shared sessions.