Validate that a specification's `public_header_files` and `private_header_files` file patterns only match header files.

Also, validate that all file patterns, if given, match at least one file.

Closes https://github.com/CocoaPods/CocoaPods/issues/2914.
coo coo