Expand mode documentation, add .jshintrc, add CONTRIBUTING

Fixes #63
Add section on documentation
Test running docs
Update API
Document mode