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

- also add test to ensure that doctitle can be set using :doctitle: attribute