login function callbacks are not called

When calling `login` method with `public_profile` neither `success` or `failure` callback are called when in iOS and native iOS facebook integration account is signed out.

I have been investigation this issue and it is because on my app page `public_profile` gives an error (see below raw request/response). I **think** this might be a facebook issue, but nonetheless the login function **must** call the callback.

By switching from `public_profile` to `basic_info` (which as far as I know was inferred automatically before, but it isn't now) everything works.

By reading the source on [FacebookConnectPlugin.m:255](https://github.com/Wizcorp/phonegap-facebook-plugin/blob/master/platforms/ios/HelloCordova/Plugins/com.phonegap.plugins.facebookconnect/FacebookConnectPlugin.m#L255) the `FBSession::openActiveSessionWithReadPersmissions] is called which in turn will call back `sessionStateChanged` with `state=FBSessionStateClosedLoginFailed` which has the error [https://github.com/facebook/facebook-ios-sdk/blob/master/src/Core/FBError.m#L34](SystemLoginCancelled). (see the log below)

**Note** This error occurs only when native ios facebook is signed in. When signed out it works.

**Request**
```
GET /method/permissions.getiosdescription?access_token=CENSORED&format=json&locale=en&permissions=public_profile&write_privacy=
```

**Response**
```
{
	"error_code": 100,
	"error_msg": "invalid permissions: public_profile",
	"request_args": [{
		"key": "method",
		"value": "permissions.getiosdescription"
	}, {
		"key": "access_token",
		"value": "CENSORED"
	}, {
		"key": "format",
		"value": "json"
	}, {
		"key": "locale",
		"value": "en"
	}, {
		"key": "permissions",
		"value": "public_profile"
	}, {
		"key": "write_privacy",
		"value": ""
	}]
}
```

## FBError
```
Error Domain=com.facebook.sdk Code=2 "The operation couldn’t be completed. (com.facebook.sdk error 2.)" UserInfo=0x10ad15ab0 
{
  com.facebook.sdk:ErrorLoginFailedReason=com.facebook.sdk:SystemLoginCancelled, 
  com.facebook.sdk:ErrorInnerErrorKey=Error Domain=com.apple.accounts Code=7 "The operation couldn’t be completed. (com.apple.accounts error 7.)", 
  com.facebook.sdk:ErrorSessionKey=<FBSession: 0x10ad3e060, 
  state: FBSessionStateClosedLoginFailed, 
  loginHandler: 0x0, 
  appID: 891837340830467, 
  urlSchemeSuffix: , 
  tokenCachingStrategy:<FBSessionTokenCachingStrategy: 0x10ba3dd20>, 
  expirationDate: (null), 
  refreshDate: (null), 
  attemptedRefreshDate: 0001-12-30 00:00:00 +0000, 
  permissions:(null)>
}
```
fixed cancel button return error message
Merge pull request #649 from aogilvie/fix-cancel-sharedialog

fixed cancel button return error message
Merge pull request #561 from gordalina/patch-1

login function callbacks are not called
Update plugin.xml

This fixes issue https://github.com/Wizcorp/phonegap-facebook-plugin/issues/654
For more info see https://github.com/facebook/facebook-android-sdk/issues/379#issuecomment-54845869
Use href param instead of link for share dialog
Merge pull request #657 from josemedaglia/patch-1

Fix black screen before login (Android)
assist for #657 updated example project manifest
Merge pull request #659 from aogilvie/patch-1

assist for #657 updated example project manifest
Merge pull request #658 from styleseat/fix-share-link

Use href param instead of link for share dialog
Fix crash when another plugin emit an activity

Check session was made
Replace copying of the FacebookSDK library with a framework reference.
Merge pull request #672 from Sneko/develop

Fix crash when another plugin emit an activity
[Android] Use native Share Dialog



Use Native Share Dialog and fallback to Feeds Dialog when it is not available (as recommended by Facebook: https://developers.facebook.com/docs/android/share#linkfeed)

Related to issue: #681
Update ConnectPlugin.java

Clean-up and format code
Support Share dialog in the Browser (and Native)

Facebook Javascript SDK has a bit different signature for dialogs.

Share Dialog: JS SDK Expects href parameter instead of link parameter (See https://developers.facebook.com/docs/javascript/reference/FB.ui)
Update ConnectPlugin.java
Update required Cordova version to 3.5.0
Merge pull request #687 from Icenium/bektchiev/sdk-as-android-library

Replace copying of the FacebookSDK library with a framework reference.
Fix linter errors