Oc 3571 background uploads

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