Fix emitter to allow traversal of M2M fields.

In Django 1.5, without this change, the emitter emits the repr() of the M2M manager.