Improvements to Bijective::Encoder

Use Numeric#divmod in encode, and rewrite decode using Enumerator#reduce.
Merge pull request #1 from itsbth/patch-1

Improvements to Bijective::Encoder