Fixed some crashes.

  -- curl library uses signals to timeout dns requests
     however this leads to crashes in some multithreaded
     applications, so we disable this (better approach
     would be to use an updated curl library
Fixed pathParser.

  -- parse didn't work correctly
  -- append didn't update the type
Mark some special paths invalid (e.g. .directory.lock, .git,...)
Needed for offsetof
Update to a newer boost api.
Added a sanity check.

  -- this was needed before the path parser type
     was corrected
  -- shouldn't be needed anymore, but just in case ...
Whitespace changes.