Added isActive() function to test if Facebook was initialized and is supported currently
Added method to verify whether the current Facebook session contains a given permission.
Added isPermissionGranted support for iOS Facebook
Facebook function renaming to avoid linker conflict