Apply patch for many many_many

from: http://www.silverstripe.org/data-model-questions/show/18329
last post references patch here:
http://assets.simon.geek.nz/text/k