Properly resolve parent params for generating the URL

Resolves issue 256 on jmdobry/angular-data (which, as it turns out, should have been reported on js-data I think). Tests are failing here though. Thought you could take this the rest of the way...