ENH: add contextmanager to HDFStore (#8791)

Added a context manager to HDFStore

closes #8791
I didn'tactually mean to deprecate this. I said we should think about it. Pls revert this section.