updated GoJS definitions for 1.2 and various fixes
GoJS definitions for 1.2, fixes, updated tests
Merge pull request #1027 from simonsarris/master

Definitions for GoJS 1.2 and (fixed) tests