detect-workspace: Add ipa-fun-detect-workspace.sh script