Allow pf_get_relationship() to accept a numeric index for first param

As originally written, pf_get_relationship() was designed to take a string as
the $relationship_type parameter: 'star', 'read', etc. This changeset adds
support for passing the relationship type's numeric index as well.

See #55
Whitespace