Fixed compiling DebugMem in Visual Studio.
Encoder: Changed fprintfElement to pass the list by reference.
Fixed memory leak in PostProcessTest
Added getScriptController to Test.
Merge pull request #718 from seanpaultaylor/next

Next
Merge pull request #715 from dgough/next

Fixed DebugMem compile error in Visual Studio
Adds gamepadEventInternal on Platform