Fixes #10: rewrite method to uniquify PBXTargetDependency

also fix remoteGlobalIDString duplicated problem