Get Swift language version programmatically

Thanks for all the feedback so far. I have posted a follow-up on Evolution/Pitches: Get Swift version information programmatically.