Don't call TranslateAccelerator when in Jasmine window.

This fixes issue [#2986](https://github.com/adobe/brackets/issues/2986).