Fix relative subspec lookup

Fix the spec for relative paths and update the code to support.

[Fixes CocoaPods/CocoaPods#1917]