Fixed resource discovery to include 'orphaned' endpoints containing (ie. /resource/{pk}) (Fixes #31)