Add README and doc strings & fix bug of commits selection.

* README.rst seems more suiteble than README.md
* commits selection with --range option now includes the end point.