some corrections on sync.h
Merge branch 'vault' of github.com:maidsafe/MaidSafe-Vault into vault