Fixed local, roaming and temp definitions on WinJS.Application object. These should be instances on IOHelper as defined in WinJS.
Changed QueryCollection to be an interface instead of class so that it can extend Array interface. In WinJS implementaion, QueryCollection extends Array and all Array members should be available on QueryCollection.
Made element parameter optional in WinJS.Utilities.query as it is optional in WinJS implementation. See http://msdn.microsoft.com/en-us/library/windows/apps/br229847.aspx.
Added constructor support for QueryCollection<T> interface
Updated IOHelper.writeText to return WinJS.Promise<number> instead of WinJS.Promise<void>
Merge pull request #2113 from anprak/master

Fixed type definitions for WinJS