Replaced ThrowError with BOOST_THROW_EXCEPTION.
Added an MSVC compiler warning fix.
Merge remote-tracking branch 'origin/next' into osx_bugfix

Conflicts:
	src/maidsafe/drive/directory.cc
Fixed bug when renaming directories.