Made the API similar to Facebook

Made the API similar to the FB api, so this can be used as a drop in
replacement, without having to change all the calls if you are using the
FB api elsewhere.
Also added a getLoginStatus function
Some Fixes.
resolving conflict
Merge branch 'hobbysoldat-master'