added debugging logging and updated to handle define imports of the form ${SOMETHING}
added debugging logging and updated to handle define imports of the form ${SOMETHING}

finger563/webgme-gridlabd,finger563/webgme-gridlabd,finger563/webgme-gridlabd,finger563/webgme-gridlabd