Added typescript declarations for many controls.
Finished typescript declarations for Documents and Controls.