Rewrote angular-winjs shim to make it more clear what is going on

The previous implementation used a bunch of meta-programming and I think it was confusing. This version is much simpler although a little bit more typing.