Added method for preloding settings
2nd stage settings. Updated loading settings flow. Removing QR applied settings on logout. Fixed known settings bugs.
Settings cleanup. Cache database is now saved in Cache folder. It is enabled that developers can implement their cache storage.
Added cancel button on qr scanner screen, to cancel scanning.
Merge commit '8dfa5494b719024621d2b9f5534efba1e50f4878' into 20131025-federated-cloud-contacts
Added missing header for APNS target.
Merge branch '20131025-federated-cloud-contacts' into feature-20140307-op-push-and-reconnection-fix

# By Sergej Jovanovic
# Via Sergej Jovanovic
* 20131025-federated-cloud-contacts:
  Added missing header for APNS target.
  Added cancel button on qr scanner screen, to cancel scanning.
  Settings cleanup. Cache database is now saved in Cache folder. It is enabled that developers can implement their cache storage.
  2nd stage settings. Updated loading settings flow. Removing QR applied settings on logout. Fixed known settings bugs.
  Added method for preloding settings