Adding support for conditionally excluding files from scaffold. Also, fixing jshint errors