Fix type in quantize.coffee.

Details: renamed sotred -> sorted
With the misspelling, the implementation was still correct, it's just
that on every pop/peek, there was the potential for a completely
unnecessary re-sort.
im in ur license
Update README with usage and misc. updates.
Update README with only callbacks and new return value.
Update example implementation with new params.
Change return to hex and update js files.