fix lgit2 linking issue - may break travis again, update compile script, misc code fixes, return commit_id on commit, fix log to list by commit id instead of tree id, update examples