Handling disposal of releases

This fixes a bad file descriptor error which was happening when
CalabashRunner is used repeatedly in the same process. This was
happening because of ScriptingContainer's local context type not set.
Setting that to ThreadSafe fixes the issue
v1.6.2