Remove obsolete single summary template code
Always use maximized state of the QMdiSubWindow when a plot or view is deleted.
Move time axis to top
Set correct text for unused axis
Avoid assert when layout is requested for non existing legend
* Remove obsolete template commands
Use first object in object list when creating plots for templates and a case is selected. (use first well in well list, first group in group list, ...)
* Always create the reference string