Introduce our own window property to distinguish between test windows from normal Brackets window.

This fixes issue #3219.