Implement Close file 

@devoncarew 

Added a context menu and pull down menu option to close resources in the treeview