Add support for store_errors and store_metadata
Merge pull request #101 from remiprev/store-errors-and-metadata

Change errors and metadata accessor methods