Use the kramdown API, as @gettalong suggests
Merge pull request #391 from IIIF/rspec_refactor

Use the kramdown API, as @gettalong suggests