Merge pull request #20 from hruellan/master

Update Codec.
Made things faster, and a slight bit smaller.
varint_encoding is broken. Don't use that yet.
Made various reasonable settings the default.
Added an option to the README that was working, but missing.
Added idx_from_end option.
Refactored tests (they work again)
cleanup of dead code.
slightly better example output when -v == 5