Fixing the case where a single char is provided from breaking the algorithm
- Also making the algorithm more verbose, for the sake of readability
CharCodeAt() is much faster with an int argument.
- http://jsperf.com/default-to-0-vs-0/5
Refactor compute function

- Simplify edge cases by passing an initialValue to reduce()
- Remove multiple method calls by doing an initial map()
- Inline getNum function
whitespace
Use convention for 'private' functions

Move them below public functions, also.
Move offsetting to convert method

Adding 1 is a consequence of the filenames currently being named 1-10,
and it seems more straightforward here.
Extract and name our reduce function

Takes a modulus and returns a summing function.
Install mocha and chai

Let's get out test on
Add Mocha options
Add reallll basic test
Integrate with Travis, continuously
Only run CI on our version of node.

Some of our dependencies don't exist in older versions.
Add some tests around the bucketing
Rename class to be more descriptive

It's a bucketer. It buckets.
Bucketer module exports the class

We want to determine the number of buckets once per request, so we
figure that out and then pass it to the constructor of the Bucketer.
More descriptive public method

It returns the bucket for a given string!
We don't use growl
Add basic integration test

Use supertest to hit API
Merge pull request #7 from adorableio/bug/6-single-char

Fixing the case where a single char is provided from breaking the algorithm