svn merge ^/trunk/blender -r42742:43270

conflicted files I had to fix manually:
--------------------------------------
wm.py
properties_particle.py
properties_game.py
rna_scene.c
KX_BlenderInputDevice.h
BL_BlenderDataConversion.cpp
GPG_Application.cpp
BL_Material.cpp
KX_FontObject.cpp
Changing the worldTransform and localTransform python attributes to use BLI_math to simplify the code.
Merged revisions 41228-45910 from trunk/blender
Fixing up UVs when using VBOs in the BGE as well as removing some unnecessary OpenGL commands.
Some style clean up on if and for statements to match trunk.
Merged revisions 45910-45967 from trunk/blender
Merged revisions 45967-46052 from trunk/blender