Fixed construction of the AFSecurityPolicy objects
AFSSLPinningModeNone should not validate the domain name.
Merge pull request #2401 from Raizlabs/bugfix/KingOfBrian/PolicyTestErrors

Bugfix: Fix AFSecurityPolicyTests