Added support to compile with weak delegate pointers with backward compability for older compilers and SDK environments
Merge pull request #296 from mishagray/master

Added support for weak delegate pointers (for SDK and compilers that support them).