Clean up the wrapper tests.
Add a Close method to FileStorage.
Add a Copy method to Doc (and Metadata).
Add AddMetadata and RemoveMetadata methods.