fix usage of _.extend, and a few other minor things
switch from gulp-clean (deprecated) to gulp-rimraf