Replace deprecated generate_for_project with Factory Girl, remove :issue...

... from work package factory.

The reporting plugin uses these steps (also see https://www.openproject.org/issues/2061)