Update Q.d.ts

Add nfapply defintion.

See API reference here: https://github.com/kriskowal/q/wiki/API-Reference
Update Q-tests.ts

Add tests for Q.nfapply and Q.nfcall.
Merge pull request #1927 from panuhorsmalahti/def/q

Update Q.d.ts
Fixed a problem that causes a conflict when used tweenjs and preloadjs at the same time.
Merge pull request #1938 from gyohk/master

Fixed a problem that causes a conflict when used tweenjs and preloadjs a...