Changed worktools path
Added check for ubuntu (as fall through)
Added localdir to $path
Added SVN_EDITOR environment variable