CheckSourceCompiles: Add support for Swift

Plumb through swift `check_source_compiles` support.  Add tests to check
that valid swift sources compile and invalid sources don't.
4 files changed