Fix for #102: Views are not put in the app/views directory

Use the same code for this.env.options.appPath as in script-base.js