Migration to ES5 functions for dojo/string (only the trim() function is concerned).
fix typos in previous Stateful check in
Auto-reformat to new coding standards.
Excluded dijit/, form/, layout/ and mobile/.
lint fixes