Fixes #19

Wraps all session using plugin calls in a decorator that automatically
closes the session and resets the context session state to None.
Merge pull request #20 from Cerberus98/closed_sessions

Fixes #19