trigger on DOMContentLoaded instead of load event.  Handle errors #3765
replace global Dojo and Dijit references with require or simple DOM
code Fixes #3646
Merge pull request #3805 from maqetta/3646-amd

replace global Dojo and Dijit references with require or simple DOM
Merge branch 'master' into orion_1_0_3481

* master:
  replace global Dojo and Dijit references with require or simple DOM code Fixes #3646
  trigger on DOMContentLoaded instead of load event.  Handle errors #3765