It seems like it would have been easier to just do a wholesale copy of the SDK folder, like the new app creation process does.  From `createApp()`:

        // Copy the SDK into the app folder as well, if it's not already there.
        var destSdkDir = path.join(commandLineArgsMap.targetdir, path.basename(packageSdkRootDir));
        if (!fs.existsSync(destSdkDir)) {
            shellJs.cp('-R', packageSdkRootDir, commandLineArgsMap.targetdir);
            if (shellJs.error()) {
                console.log('There was an error copying the SDK directory from \'' + packageSdkRootDir + '\' to \'' + commandLineArgsMap.targetdir + '\': ' + shellJs.error());
                process.exit(5);
            }
        } else {
            console.log(outputColors.cyan + 'INFO:' + outputColors.reset + ' SDK directory \'' + destSdkDir + '\' already exists.  Skipping copy.');
        }

Everything is already pathed properly to work in that folder.  Is the idea to make the sample apps individually standalone?