Constants for .swift and .xctest files

Set automatically on project modification the lastKnownFileType correctly for these file types.
The PR is now ready.
@segiddins It is for my main work machine, but thanks for the hint. :wink: I thought it would be consequent to ignore it here, like for other repos in the Rainforest.