Allow passing a meta hash when creating a document

 as per #17