Auto length for encoding, unit testing, and minor formatting fixes

When you created the build for travis-ci, make sure to grab the cool "passing" badge for the README.md.

Thanks,
-Seth