convert readme to markdown

I converted the README from rdoc to markdown to make inline code editing nicer and to make it more convenient for contributors to make edits on github.com