Fixed typo in world.setMaterial

The function contained a typo: bodies is an Array and so bodies.setMaterial is undefined
Merge pull request #739 from OpherV/patch-1

Fixed typo in world.setMaterial