add SD_APP_EXTENSION macro for ios8 extensions

define the SD_APP_EXTENSION preprocessor macro when you are building an extension that includes SDWebImage. This avoids compile time errors about the user of [UIApplication sharedApplication]

Addresses: #859