Add function application to Swift's standard library

The dynamicType property was replaced by the type(of:) function in SE-0096: