WindowController: browser focus/blur events improved see commit details
WindowController: browser focus/blur events improved see commit details

Existing implementation was only firing on browser tab changes, but not on os wide app focus changes. This new implementation covers the both.

gokhanturunc/kd,gokhanturunc/kd,anonrig/kd,anonrig/kd,koding/kd