add support for ranges
README.rst more consistent formatting
README.md: better ranges example
README.rst: fix typo in range example
bump release 0.5.1