The beginning of better API docs

See [CONTRIBUTING.md](CONTRIBUTING.md).

The API docs in the README are now generated from JSDoc comments. The JSDoc comments will need to be improved.

@edjafarov see above ^

Also fixed the default Grunt task.