Update sharing options to use iOS 6 Social framework, and add Facebook option.
Fix errors reported by Analyze.