Make target optional in the swift publish plugin

This allows uploading a directory to the root of a container. If
uploading a file and you do not specify a target, nothing will actually
be uploaded.
Merge pull request #315 from sivel/swift-empty-target

Make target optional in the swift publish plugin