Add resource key as resource to generate payment path

Part of neighborly/neighborly#219.