Fixing build break on "artifacts" folder creation (plus bonus code fixes)

- Fixed typo: Detatch() -> Detach()
- Fixed periodic build break by fixing the creation of Artifacts folder
by using the InitialTargets attribute on the Project element in the
csproj.
- Added the process name and id in exception message when trying to
attach to a process when already attached.