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 #715 from dgough/next

Fixed DebugMem compile error in Visual Studio