Optimizing `Project.update_role_points` method

An small optimization that cuts the number of queries down
This can be out of `for` avoiding creating set of rolepoints ids in each iteration.