Fix issues when trying to use Session.temp() when no session has previously been activated.
Add test for using `Session.temp()` without a currently active session.
Merge pull request #61 from gavinballard/temp_session_fixes

Fix issues when trying to use Session.temp()