Call relation methods in the right context

Before this change, it was impossible to override 'build' and other
(custom) relation/scope methods; only the original prototype method was
ever called.
Merge pull request #327 from fabien/fix/call-scope-method

Call relation methods in the right context