fix read_cb bug, the modified version should be correct using the latest librsync library
Added tests for issue #5.
Merge branch 'shawnh310-master'