Fix cross platform tests again
Update cmake files to match next branch
Style cleanup
Corrections for network tests. Remove writes to source dir.
Fix network race conditions.

Drive was not waiting for network confirmation of file chunk storage before
updating directory information. Similar problems existed in a few
other areas.
Fix deadlock on shutdown.

Network related threads need to be stopped after the threads requesting
network work.
Fixed Windows Build.
Merge branch 'MAID-606_FixDriveV2Tests' of https://github.com/vtnerd/MaidSafe-Drive into drive_v2