Removed type queries used on interface members.

`typeof` cannot be used to refer to properties within an interface. It is currently permitted due to bug in the TypeScript compiler which we plan to address.

Of the errors in DefinitelyTyped that this catches, I've done my best to understand the intent of the `.d.ts` files and make the appropriate changes.