resolves #163 support :doctype and :backend keys in options hash

- also add test to ensure that doctitle can be set using :doctitle: attribute
Merge pull request #179 from mojavelinux/doctype-backend-options

resolves #163 support :doctype and :backend keys in options hash