add __exit__ for NamedTemporaryFile to handle close/remove when used in "with" statement
test case for NamedTemporaryFile context manager
fixing NamedTemporaryFile context manager, `__enter__` is needed
Merge pull request #535 from megies/tempfile_context

Context Manager for NamedTemporaryFile