fix image viewer

replaced os.popen by subprocess.Popen; platform specific commands
Merge pull request #279 from bbudescu/img_view_subprocess

fix image viewer