Set client mode before loading realClient so configs can access it

Fixes #263.
Merge branch 'master' into geezer
Update legacy Dojo to 1.9.4