Bound the view's close handler to the EVT_CLOSE event so that clicking
the application's "x" button does the same cleanup before exiting as
happens when selecting File->Exit.
Had to change the ApplicationView.close method to call 
mainframe.Destroy  instead mainframe.Close because Close generates 
another EVT_CLOSE event, producing an infinite loop.
Set flag to turn off pyraf's default behaviour of printing the names of the 
tasks in a package when that package is loaded.
Merge pull request #27 from drusk/suppress_pyraf_tasklist

Suppress pyraf task listing
Merge pull request #26 from drusk/clean_close

Issue24 - Perform application cleanup on pressing the window's "x" button