adding karma-coverage and some gulp task refactoring