Add declarations for "Dock Spawn" library.

The library offers a Visual Studio-like drag/drop dock manager for
JavaScript.

http://dockspawn.com
https://github.com/coderespawn/dock-spawn

These declarations do not include some seemingly-private/internal
functions.

Authored by Drew Noakes <https://drewnoakes.com>