removed patch level from ruby-version
added an options argument to to_json to provide backwards compatibility for rails
Merge pull request #69 from m3talsmith/issue-66

Issue 66 fix
Prevent nil options from throwing exception
Add tests to surround new bug fix
Small syntax style change to appease HoundCI
Merge pull request #73 from aauthor/johnceh-build_options_bug

Bug fix for attempting to build a Document with nil for attributes