Methods, Thread Management, UIDocument, Sample app

Added compiler checks for methods with null parameters. Improved method documentation. Fixed issues with recommended thread management - moved most processes to the main thread. Added check for completion handler on methods where a completion handler is not required. Add delegate deprecation check for iCloudFileUploadConflictWithCloudFile:andLocalFile:. Updated Sample app, fixed bugs. Added new iCloudDocument features.