Improve check for in-source build.
Merge remote-tracking branch 'origin/next' into MAID-203
Fixed to handle source paths containing regex special chars.
Merge remote-tracking branch 'origin/next' into MAID-203

Conflicts:
	CMakeLists.txt
Merge pull request #146 from Fraser999/MAID-203

MAID-203: Improve check for in-source build.
Merge branch 'next' of https://github.com/maidsafe/MaidSafe into next
SHA stamp by Jenkins as building correctly