[Issue #1655] Setting completion block by notifying group in background queue
Merge branch 'master' of github.com:AFNetworking/AFNetworking
Minor formatting in tests
[Issue #1656] Fixing UIWebView category to use supplied success callback
[Issue #1627] Changing request serializer protocol to take id type for parameters
[Issue #1601] Fixing availability macros for network activity indicator
Squashed commit of the following:

commit d2d732426d91bb91a0aa251f44b0f4eb52b0739d
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:37:26 2013 -0800

    Initialize object with nil rather than NULL

commit f940f6fa0dec901bac5c1b3d78fcdb35d178571c
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:34:31 2013 -0800

    Add evaluateServerTrust: with deprecation warning

    Changing policy of -evaluateServerTrust:forDomain: to skip domain validation for nil domain, rather than throwing an exception, in order to support deprecated version

commit f6e390b82e76ec610258b6141dd5ae502581a536
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:27:25 2013 -0800

    Minor documentation copy editing

commit efcb3c74a1d26006e046116599210178ba2b0533
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:23:36 2013 -0800

    Rename AFVerifyDomainNames to AFCertificateHostMatchesDomain and refactor

commit c5188b9d4286f5f17b2c290c93d1760632feebae
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:08:56 2013 -0800

    Minor reformatting

commit 102e5c0b26b46fb3999ba718619a0878020b2804
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:03:45 2013 -0800

    Removing unnecessary *stop setting in indexOfObjectPassingTest:

commit 841dec319e2861a4bba2da957a6910663b3b008a
Merge: e344585 9e984ce
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 00:00:48 2013 -0800

    Merge branch 'domain-name-validation' of github.com:OliverLetterer/AFNetworking into OliverLetterer-domain-name-validation

commit 9e984cec8ffac1ef441d2ae56d48947373a3c60e
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Wed Nov 6 08:52:36 2013 +0100

    Adding documentation for -[AFSecurityPolicy evaluateServerTrust:forDomain:].

commit 44ec25b01bfe8205d8bc585b437167db5bb3a051
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Sun Nov 3 18:50:28 2013 +0100

    Adding more tests.

commit 4c3c4394504cca0f33c7d2885913d5d5fbaca0b6
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Sun Nov 3 18:45:52 2013 +0100

    Implementing tests.

commit a85141d649a5c345291361341d730c280d0e9c2e
Author: Oliver Letterer <oliver.letterer@gmail.com>
Date:   Sun Nov 3 18:35:20 2013 +0100

    Implementing domain name validation.

Signed-off-by: Mattt Thompson <m@mattt.me>
Squashed commit of the following:

commit 4a48db5de0bb40ae5a23f40078f837ac95006116
Merge: 5eaa869 6f8c1bf
Author: Mattt Thompson <m@mattt.me>
Date:   Tue Dec 3 01:04:29 2013 -0800

    Merge branch 'master' of github.com:nessence/AFNetworking into nessence-master

    Conflicts:
    	AFNetworking/AFSecurityPolicy.m
    	Tests/Tests/AFSecurityPolicyTests.m

commit 6f8c1bf1e715d8615ed8291c8089a9d6c0653f2f
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Wed Oct 9 03:58:40 2013 -0500

    update documentation

commit 96a724290bffe4a825ea1abf850ec3993b522811
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Wed Oct 9 03:01:40 2013 -0500

    revert to leaf certificate checking as that was default before. add cert chain to resources for default tests. added default tests in case of certificate chains being used.

commit 2c1f4b80fee46908d1f93569fa9fd69905538fe4
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Wed Oct 9 01:28:00 2013 -0500

    update modes to explicitly specifying whether complete chain or leaves should be validated.
    add new tests for explicit modes.

commit 291caa4a149d55a17ac884e56bc0bf8f25796bfe
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Tue Oct 8 22:26:15 2013 -0500

    fix tests to load certs. previous tests were not loading any certificate which doesn’t accurately reflect name or text of test.

commit 983e84e6895963bded794961c4764079eb156c7f
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Tue Oct 8 07:36:20 2013 -0500

    use unsigned integer

commit 6fbfd413edba1c0343d23d30d95e3dbc11be4011
Author: Alex Leverington <alex@tantrumstreet.com>
Date:   Tue Oct 8 05:43:28 2013 -0500

    Ensure full certificate chain is verified to prevent false positives from compromised certificate chains and ensure developer includes full cert chain. Ensure trust is validated before evaluating certificate. Security policy tests pass with changes. Prior to changes, tests for setSSLPinningMode:AFSSLPinningModePublicKey and setSSLPinningMode:AFSSLPinningModeCertificate would pass when one or more certificates weren't bundled.

    We know from SecTrustEvaluate that the certificate presented by the server is valid. Thus, it wouldn’t make sense to return true if only one certificate in the chain validates, because, SSL pinning is to ensure the previously-issued certificate chain matches the server trust. While the prior implementation protects against MITM certs from sources such as corporate firewalls, this measure is to combat wider-spread compromises of certificate authorities.

Signed-off-by: Mattt Thompson <m@mattt.me>
Adding AFImageCache protocol, to allow for custom image caches to be specified for UIImageView
Adding 'gem install cocoapods' to Travis before_install step
Adding command line options to Travis gem install cocoapods
Fixing documentation, reverting change in security policy enum
Fixing references to reverted pinning mode enum values
Fixing invalid character in Travis YAML