Clean up mouse event storage.
Fix crash when additional properties are added to AutomaticUniforms.
Merge pull request #1328 from AnalyticalGraphicsInc/durandalCompatibilityFixes

Durandal compatibility fixes