Kreata/imapHandler — pull request #1 by felixhammerl (2014-03-08 16:42:44+00:00)
Title: Change project setup

took me a bit longer than expected, but here's my changes:

* introduce .gitignore
* introduce src directory
* adapt file names to naming guidelines
* extend umd pattern to support node
* introduce grunt support
* introduce mocha test runner for node and phantom
* introduce connect
* refactor tests using mocha, chai
* simplify travis.yml

grunt runs the tests on node and phantomjs. to kick off the tests, run `grunt`, or to run the test in your own browser, run `grunt dev` and then head to `http://localhost:12345/test/`

jshint check fails due to a malformed switch-statement, and i am not quite sure how to fix it. you might want to take a look at that.