Oc 3571 background uploads

This PR include code for:
 - Update AFNetworking to version 2.0
 - Support upload in background