Restore the current image when the preview activity is hidden

fixes #728
Merge branch 'develop' into community_image-preview-save-position
Merge pull request #801 from owncloud/community_image-preview-save-position

Restore the current image when the preview activity is hidden