Refs #8549. Working on Latest_isis_runs

As the scientists don't seem interested in other cycles, the latest_isis_runs script is bieng altered to return a list rather than a map
Refs #8560. Changed script to hold a single tuple instead of map

Latest_isis_runs.py no longer cares about runs past the most recent.

It used to hold a dictionary of <cycle,[journal_path,cycle_path]> where it not holds only the [journal_path,cycle_path] of the most recent cycle

It will also return a list of strings in the form of [run_no]: [title]
Refs #8560. Functionality fixed, waiting for blocking tickets

The script now returns the data in the format we want, and does a check to make sure the user has entered only an integer to save checking for an eID that won't exist

The ui has had a minor tewk in that the central widget has had it's name changed and a sensible name given to the layout it hosts. The ListWidget has also been expanded slightly. Compared to the old functionality,(as of 2.6 when this wokred last) the list box will no logner resize when given data, scrollbars will be used instead.

This ticket is now wating for #8531, #8532 and #8549 to be pushed to master so i can merge them in and make sure that the functionality doesn't break.
Refs #8560. Removed comboCycle and added blank RB case

The comboWidget comboCycle hasbeen removed from the ui, and it's related code deleted or disabled.

If the RB box is empty, the listWidget will be populated with all runs form that cycle.
Refs #8560. Merge remote-tracking branch 'origin' into feature/8560_Refl_gui_RB_functionality
Refs #8560. Merge origin/master into feature/8560

Previous ticket has now been merged into this ticket to reduce the chance of further merge conflicts
Refs #8560. Added a minimum size to the QLineEdits

Not related to the core issue, but samll enough to include.

It was noticed on Mac that the RB lineEdit was rather small on the defualt window size, so I've added a minimum width to both LineEdits.
Refs #8560. Fixed intrument selection after breaking in another ticket

When I changed the signal connections from the old C++ style to the new pyqt style notation i inadvertently broke the instrument selection combobox.

This was because the default "Activated" signal carried the index of the new item, rather than the new contents like it used to. The same method couldn't be kept as combobox would only return unicode strings, which the config manager didn't like as they weren't compatible with C++ std::string.

The solution was to a new class-member level list of instruments in all caps and use it to populate the listbox in the subclass (removing the hard coded values from the UI file) and set the config manager meaning that the values used would be python strings (compatible with C++ std::string)
Refs #8560. Merge remote-tracking branch 'origin' into feature/8560_Refl_gui_RB_functionality
Refs #8560. Corrected RB functionality

Lots of changes:

* The RB search is no longer triggered by textRB's editingFinished signal. It's now linked to textRB's returnPressed and the new buttonSearch's clicked. So this will now only search when enter is pressed in the text box or the search button is clicked.
* A search won't be attempted if the RB box is empty
* transfer() and the RB search will display an error message in a messagebox if something goes wrong.
* The main window now has a status bar, used for showing search status.
* The RB search no longer uses cycles, and will search every journal from the beggining of time to the present day
* The RB search is much faster (it's practically instant) due to using summary.txt (located alongside the xml journals) instead of the xml journals. It's guessed that the speed gain has come from only opening one file over a network rather than many, the xml module might have also been slightly to blame.
* The RB search no longer adds cycle directories to the managed user directories - this is a side effect of using the summary.txt as that doesn't include the cycle so the fucntion can't add the cycle directory.

A decision is being made on which  direction to take in terms of seraching, as both xml and txt methods are in the code and it's a case of changing a single function call to switch them. txt is instant, but doesn't add cycles to the managed directories, while xml takes about 40 seconds but adds cycle directories to the managed directories
Refs #8633. Changed search to use xml and a fixed cycle depth

The search now uses xml again and is fixed to 1 cycle into the past (although this will be fixed to a spinbox in another ticket to allow the user to set how many cycles into the past they want to search)
Refs #8560. Added spinbox for RB search depth

I've added a spinbox for setting the depth of the search and made a few general improvments to the UI at the same time.

The widgets are now spread across two rows as they would have been cramped with the new widgets.

The Instrument combobox now has a label.

Buddies have been set, each label is now paired with a widget.

Tab order is now set properly.
Refs #8560. Spin box now sets search depth.

The spin box value is now attached to the call to getJournalRuns, so the search depth can now be adjusted.
Refs #8560. Added more prints to the log

Added more print notices for search start and end.
Refs #8560. Added maximum to spinbox and improved complete message.

The cycle depth spinbox is now more inteligent, its max value is now set from the number of cycle journals logged in the main jounral file

The search complete message now contains a value for the ammount of results found. Searches that yeild nothing are still deemed complete as it searched the amount it was told to but nothing existed.

Refactored a few lines in the txt search method to explain cnstant values, and added a comment about a concatentaion line.
Refs #8560. Fixed a point where an exception could throw.

If a journal had no 'isis_cycle' tag then the search would crash. The serach now skips that journal if that is the case.
Refs #8560. Fixed a widget naming issue

The error was because the open dialog was parented to a control that had been renamed. Fixed naming issues
Refs #8560. fixed saving issue

The save action haddn't been defined right. I'd forgotten to add self.
Refs #8560. Merge remote-tracking branch 'origin/master' into feature/8560_Refl_gui_RB_functionality
Refs #8560. Fixed statusbar messages

Discovered that the messages in the statusbar would dissapear when opening a menu. This was because of the temporary messages is was using.

The statusbar now has a standard message "Ready" and only uses temporary messages for the search notification.