Add some accessors that will be needed for implementing the API's driving the restart files output.
Also fix a tiny bug in coupling validation coming from the change of convention in previous files record numbering (now -1 indicates the last record). Sorry to put two things together but it was necessary for the validation).