Converted e2e tests to TypeScript and added support for --production argument in Gulp.