Added more documentation

Added function documentation for most functions in the library (some were omitted because they were simple enough). The documentation here will be carried over when this library is converted into JavaScript. I would like to maintain documentation/variable name parity between the CoffeeScript and JavaScript versions, so if there should be changes/additions to any of these please make a note of them here.