added copy directive to grunt for deploying three examples and editor. added typescript definition file.