start using shared_examples in rspec

to try to reduce duplicate test statements
add github flavored markdown syntax highlighting to README
reduce stdlib requirement to 3.0.0