factored out some code to wsutils
added support for matching workspace members by wildcards
added an option -n to just check whether the renaming would not cause any conflict
added a function getAllMembers(..)