readme
Docs.
remove old code
Move discoverRepo outside the structure.
add initRepo
Add tests for initRepo.
remove init c function.
Add proper default-initialization of version_ field to avoid having to use macro-equivalent initializer.
Merge branch 'master' into D_API
docs fixes.