ImagePicker: fixed several compatibility issues
- use external storage for temporary files
- workaround for missing isDestroyed() on API level 16