Add Resource#getRelPaths() to get relation props
Copy in flux.js from mekanika-client