refactoring the TS  code to use internal modules only and removing the dependency to require.js.
Merge remote-tracking branch 'origin/master'
DOL-133:  make onModelStoreChangeForType in the JavaScript client
Merge remote-tracking branch 'upstream/master'