Updating project to latest recommended settings
[Issue #179] Adding weak/strong pattern in data detector to prevent threading-related crashes
Adding compiler macro to use __unsafe_unretained if deployment target does not support __weak