check for CODE_LOADING_MODE in extended bin script, default to 'embedded'
Merge pull request #282 from irccloud/code_loading_mode_env

use CODE_LOADING_MODE in extended bin script