use old gulp version as the 3.8.2 has problems with globs
e2e tests: change timeout for tests
fixup style and missing code from the original demo
fix(gulpfile.js): ensure all globbed paths are written in gulp.dest()

Some regression in one of the gulpjs dependencies has broken gulp.dest in newer versions, and rather
than require the use of an older version of gulp, this solution appears to work well in its place.