Fixes a bug introduced in https://github.com/opencobra/cobrapy/pull/53

Iterating through Reaction._genes while modifying Reaction._genes had some weird behavior.  Changed to use the Reaction.genes property and added in a unit test.