[Dependency][Specification] Add #from_subspec_dependency attribute

Needed for https://github.com/CocoaPods/CocoaPods/pull/2760.