Clean up target and destination specifier generation and allow overriding the 'name' argument with an environment variable
Clean up target and destination specifier generation and allow overriding the 'name' argument with an environment variable

fyockm/travis-xcodebuild,j-mutter/travis-xcodebuild