Implement tree encoding
Create a commit in the example
Implement ref writing
Fix tag and commit encoding bug
Move string-stream converters to example
Bump version to 0.1.0