Quickcheck tests improvements; doctest fix; minor changes
Quickcheck tests improvements; doctest fix; minor changes

* Quickcheck tests now test non-UTF8 inputs
* Quickcheck tests now properly handle empty inputs
* Doctests now use the correct functions
* Doctests now demonstrate that `_buf` functions append to the
  given buffer

fbernier/base62