JedWatson/keystone — pull request #287 by mgan59 (2014-04-11 15:27:34+00:00)
Title: added gulp

I added gulp to the project and configured jshint and the mocha test-runner to work with gulp. Current supported gulp commands are as follows

```bash

> gulp lint
> gulp test
> gulp spec
> gulp autotest
> gulp autospec

```

**Dev Notes**

Possible issues using `gulp-watch` with mocha tests as indicated on a [stackoverflow](http://stackoverflow.com/questions/22291225/gulp-mocha-watch-not-reloading-my-source-files) though in my initial tests this may have been fixed

There is a `handleError` method that helps keep the `gulp-watch` from bailing out on error as referenced in this [issue](https://github.com/gulpjs/gulp/issues/259)

Also running the `gulp lint` dumps a crazy amount of jshint errors. Should fix most of them as there are an incredible amount of semi-colons missing. Otherwise there are some other issues that are more syntax/style so we should maybe discuss what we want to ignore as part of a .jshintrc