Support string args to add lib/include path

addToLibrarySearchPaths and addToHeaderSearchPaths previously assumed
that the file argument was a `pbxFile`, and that the added reference
should be of a certain format. However, this prevents a user from adding
a relative path such as '../../../sharedDependency/include' or similar.
This patch adds support for that functionality.