Fixed bad #if in templates.
Added Windows desktop DirectX template for VS.
Fixed installer script to include Windows desktop DirectX.
Replaced NSTimer with CADisplayLink.
Changed Tick() from public to internal.
Simplified math, added comment.
Merge branch 'develop' into template_fix
Merge branch 'develop' into ReplaceNSTimer
Fixed missing registry key delete.
Merge pull request #1381 from SickheadGames/template_fix

Template And Installer Fixes
Cleanup of documentation for SoundEffectInstance. Removed unnecessary hold on the parent SoundEffect reference. Removed a duplicate initialization of the source buffer. Changed the use of Math.exp in the pitch conversion code to use Math.pow so that it can be understood better.
Added some comments where appropriate, moved the hardware init code into its own method, added a state flag to know when the sound hardware was setup or not, and added more aggressive handling of hardware setup errors. See issue #1376.
Merge pull request #1390 from totallyeviljake/ISSUE_1386_R1

Cleanup of documentation for SoundEffectInstance and misc code cleanup.
WP8 Fix for TypeInitializationException in MediaPlayer's constructor.
Removed test try/catch
Merge pull request #1384 from SickheadGames/ReplaceNSTimer

Replaced NSTimer with CADisplayLink.
MRT support for OpenGL.
Adding vertexOffset support to DrawUserIndexedPrimitives in WinGL
Merge pull request #1409 from jaquadro/develop

Adding vertexOffset support to DrawUserIndexedPrimitives in WinGL
Set the IsRunningSlowly flag to false when the game is not in fixed time step mode.