Pass project membership as dict in migration 015.

Passing the query result directly to execute() seems to bork
migrations on sqlite.  Pass a dict with the required parameters
instead.

Fixes LP 1156780.

Change-Id: Ib71c5c82be85402cdf6fc5855fc64ec683edebeb
Merge "Pass project membership as dict in migration 015."