added context manager support
Merge from master
Rename import_err to something more general
Use the deferred error to provide a logical exception on access to a closed image
Docs changes for close/context manager
tests for close and context manager
Merge pull request #551 from wiredfool/with

Image.close, Context manager support