Merge pull request #4 from samuele3hu/bug_fix

fix the compile error and add new logout callback function
Merge branch 'master' of https://github.com/yuye-liu/cocos2d-lua-Facebook into bug_fix