minor formating changes
added some error hadling and general refactoring in gulpfile
converted spaces to tabs in package.json