add check for auto-detection of new variables to init lesson process
capture script contents in e$script_contents for use in testing
small cosmetic change
Merge pull request #181 from swirldev/autodetect

add check for auto-detection of new variables to init lesson process